Esempio n. 1
0
 internal static void Initialize()
 {
     Natives.Add(new BitPrototype(BitOr), false);
     Natives.Add(new BitPrototype(BitAnd), false);
     Natives.Add(new BitPrototype(BitXor), false);
     Natives.Add(new I2RPrototype(I2R));
     Natives.Add(new R2IPrototype(R2I));
 }
Esempio n. 2
0
 public void Initialize()
 {
     Natives.Add(new StopwatchCreatePrototype(StopwatchCreate));
     Natives.Add(new StopwatchElapsedMSPrototype(StopwatchElapsedMS));
     Natives.Add(new StopwatchElapsedSecondPrototype(StopwatchElapsedSecond));
     Natives.Add(new StopwatchElapsedMinutePrototype(StopwatchElapsedMinute));
     Natives.Add(new StopwatchElapsedHourPrototype(StopwatchElapsedHour));
     Natives.Add(new StopwatchElapsedTickPrototype(StopwatchTick));
     Natives.Add(new StopwatchDestroyPrototype(StopwatchDestroy));
 }
Esempio n. 3
0
 internal static void Initialize()
 {
     Natives.Add(new StopwatchCreatePrototype(StopwatchCreate));
     Natives.Add(new StopwatchIVPrototype(StopwatchStart));
     Natives.Add(new StopwatchIVPrototype(StopwatchPause));
     Natives.Add(new StopwatchIVPrototype(StopwatchReset));
     Natives.Add(new StopwatchIVPrototype(StopwatchDestroy));
     Natives.Add(new StopwatchElapsedPrototype(StopwatchElapsedMS));
     Natives.Add(new StopwatchElapsedPrototype(StopwatchElapsedSecond));
     Natives.Add(new StopwatchElapsedPrototype(StopwatchElapsedMinute));
     Natives.Add(new StopwatchElapsedPrototype(StopwatchElapsedHour));
     Natives.Add(new StopwatchElapsedTickPrototype(StopwatchTick));
 }
Esempio n. 4
0
 internal static void Initialize()
 {
     Natives.Add(new MemorySI(GetModuleHandle));
     Natives.Add(new MemoryIII(FindModuleHandle));
     Natives.Add(new MemoryII(MemoryGetByte));
     Natives.Add(new MemoryIIV(MemorySetByte));
     Natives.Add(new MemoryII(MemoryGetInteger));
     Natives.Add(new MemoryIIV(MemorySetInteger));
     Natives.Add(new MemoryIR(MemoryGetReal));
     Natives.Add(new MemoryIRV(MemorySetReal));
     Natives.Add(new MemoryIIS(MemoryGetString));
     Natives.Add(new MemoryISV(MemorySetString));
 }
 internal static void Initialize()
 {
     Natives.Add(new WriteLogPrototype(WriteLog));
     Natives.Add(new MiscRVPrototype(WriteLogReal));
     Natives.Add(new GetLocalDateTimePrototype(GetLocalDateTime));
     Natives.Add(new MiscVIPrototype(GetLocalUnixTime));
     Natives.Add(new MiscVRPrototype(GetMaxAttackSpeed));
     Natives.Add(new MiscRVPrototype(SetMaxAttackSpeed));
     Natives.Add(new MiscVBPrototype(IsReplayMode), false);
     Natives.Add(new MiscVBPrototype(IsHostPlayer), false);
     Natives.Add(new MiscVIPrototype(GetSyncDelay));
     Natives.Add(new MiscIVPrototype(SetSyncDelay));
     Natives.Add(new MiscVIPrototype(GetConnectionState));
 }
Esempio n. 6
0
 internal static void Initialize()
 {
     Natives.Add(new StringPosPrototype(StringPos));
     Natives.Add(new StringInsertPrototype(StringInsert));
     Natives.Add(new StringTrimPrototype(StringTrim));
     Natives.Add(new StringTrimPrototype(StringTrimStart));
     Natives.Add(new StringTrimPrototype(StringTrimEnd));
     Natives.Add(new StringSplitPrototype(StringSplit));
     Natives.Add(new StringReplacePrototype(StringReplace));
     Natives.Add(new StringReversePrototype(StringReverse));
     Natives.Add(new StringContainsPrototype(StringContains));
     Natives.Add(new StringCountPrototype(StringCount));
     Natives.Add(new StringRegexPrototype(StringRegex));
     Natives.Add(new StringSubPrototype(StringSub));
     Natives.Add(new StringLengthPrototype(StringLength));
     Natives.Add(new StringCalcLinesPrototype(StringCalcLines));
 }
Esempio n. 7
0
 internal static void Initialize()
 {
     Natives.Add(new DzAPI_Map_SaveServerValuePrototype(DzAPI_Map_SaveServerValue), false);
     Natives.Add(new DzAPI_Map_GetServerValuePrototype(DzAPI_Map_GetServerValue), false);
     Natives.Add(new DzAPI_Map_Ladder_SetStatPrototype(DzAPI_Map_Ladder_SetStat), false);
     Natives.Add(new DzAPI_Map_IsRPGLadderPrototype(DzAPI_Map_IsRPGLadder), false);
     Natives.Add(new DzAPI_Map_GetGameStartTimePrototype(DzAPI_Map_GetGameStartTime), false);
     Natives.Add(new DzAPI_Map_Stat_SetStatPrototype(DzAPI_Map_Stat_SetStat), false);
     Natives.Add(new DzAPI_Map_GetMatchTypePrototype(DzAPI_Map_GetMatchType), false);
     Natives.Add(new DzAPI_Map_Ladder_SetPlayerStatPrototype(DzAPI_Map_Ladder_SetPlayerStat), false);
     Natives.Add(new DzAPI_Map_GetServerValueErrorCodePrototype(DzAPI_Map_GetServerValueErrorCode), false);
     Natives.Add(new DzAPI_Map_GetLadderLevelPrototype(DzAPI_Map_GetLadderLevel), false);
     Natives.Add(new DzAPI_Map_IsRedVIPPrototype(DzAPI_Map_IsRedVIP), false);
     Natives.Add(new DzAPI_Map_IsBlueVIPPrototype(DzAPI_Map_IsBlueVIP), false);
     Natives.Add(new DzAPI_Map_GetLadderRankPrototype(DzAPI_Map_GetLadderRank), false);
     Natives.Add(new DzAPI_Map_GetMapLevelRankPrototype(DzAPI_Map_GetMapLevelRank), false);
     Natives.Add(new DzAPI_Map_GetGuildNamePrototype(DzAPI_Map_GetGuildName), false);
     Natives.Add(new DzAPI_Map_GetGuildRolePrototype(DzAPI_Map_GetGuildRole), false);
     Natives.Add(new DzAPI_Map_IsRPGLobbyPrototype(DzAPI_Map_IsRPGLobby), false);
     Natives.Add(new DzAPI_Map_GetMapLevelPrototype(DzAPI_Map_GetMapLevel), false);
     Natives.Add(new DzAPI_Map_MissionCompletePrototype(DzAPI_Map_MissionComplete), false);
     Natives.Add(new DzAPI_Map_GetActivityDataPrototype(DzAPI_Map_GetActivityData), false);
     Natives.Add(new DzAPI_Map_GetMapConfigPrototype(DzAPI_Map_GetMapConfig), false);
     Natives.Add(new DzAPI_Map_HasMallItemPrototype(DzAPI_Map_HasMallItem), false);
     Natives.Add(new DzAPI_Map_SavePublicArchivePrototype(DzAPI_Map_SavePublicArchive), false);
     Natives.Add(new DzAPI_Map_GetPublicArchivePrototype(DzAPI_Map_GetPublicArchive), false);
     Natives.Add(new DzAPI_Map_UseConsumablesItemPrototype(DzAPI_Map_UseConsumablesItem), false);
     Natives.Add(new DzAPI_Map_OrpgTriggerPrototype(DzAPI_Map_OrpgTrigger), false);
     Natives.Add(new DzAPI_Map_GetServerArchiveDropPrototype(DzAPI_Map_GetServerArchiveDrop), false);
     Natives.Add(new DzAPI_Map_GetServerArchiveEquipPrototype(DzAPI_Map_GetServerArchiveEquip), false);
     Natives.Add(new DzAPI_Map_GetPlatformVIPPrototype(DzAPI_Map_GetPlatformVIP), false);
     Natives.Add(new RequestExtraIntegerDataPrototype(RequestExtraIntegerData), false);
     Natives.Add(new RequestExtraBooleanDataPrototype(RequestExtraBooleanData), false);
     Natives.Add(new RequestExtraStringDataPrototype(RequestExtraStringData), false);
     Natives.Add(new RequestExtraRealDataPrototype(RequestExtraRealData), false);
     Natives.Add(new DzGetUnitNeededXPPrototype(DzGetUnitNeededXP), false);
 }
Esempio n. 8
0
 public void Initialize()
 {
     Natives.Add(new GetDateTimePrototype(GetDateTime));
 }