1
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

30 lines
1.2 KiB

#pragma once
#include "GameTypes.h"
struct StaticFunctionTag;
class VMClassRegistry;
namespace papyrusStringUtil
{
void RegisterFuncs(VMClassRegistry* registry);
UInt32 GetLength(StaticFunctionTag* thisInput, BSFixedString s);
BSFixedString GetNthChar(StaticFunctionTag* thisInput, BSFixedString s, UInt32 index);
bool IsUppercase(StaticFunctionTag* thisInput, BSFixedString s);
bool IsLowercase(StaticFunctionTag* thisInput, BSFixedString s);
bool IsLetter(StaticFunctionTag* thisInput, BSFixedString s);
bool IsDigit(StaticFunctionTag* thisInput, BSFixedString s);
bool IsPunctuation(StaticFunctionTag* thisInput, BSFixedString s);
bool IsPrintable(StaticFunctionTag* thisInput, BSFixedString s);
BSFixedString ToUpper(StaticFunctionTag* thisInput, BSFixedString s);
BSFixedString ToLower(StaticFunctionTag* thisInput, BSFixedString s);
SInt32 Find(StaticFunctionTag* thisInput, BSFixedString theString, BSFixedString toFind, UInt32 startIndex = 0);
BSFixedString Substring(StaticFunctionTag* thisInput, BSFixedString s, UInt32 startIndex, UInt32 len = 0);
UInt32 AsOrd(StaticFunctionTag* thisInput, BSFixedString s);
BSFixedString AsChar(StaticFunctionTag* thisInput, UInt32 c);
}