//================================================================================
// UIScript.
//================================================================================

class UIScript extends UIEventManager
	Native
	dynamicrecompile;

enum ESoundType {
	SOUND_Ambient,
	SOUND_Effect,
	SOUND_Music,
	SOUND_SystemVoice,
	SOUND_NPCVoice,
	SOUND_NotifySound,
	SOUND_MainVolume
};

enum ReleaseMode {
	RM_DEV,
	RM_RC,
	RM_TEST,
	RM_LIVE
};

enum PetitionMethod {
	PetitionMethod_Default,
	PetitionMethod_New,
	PetitionMethod_Web
};

enum DialogEnterAction {
	EEnterNone,
	EEnterOK,
	EEnterCancel,
	EEnterDoNothing
};

enum DialogDefaultAction {
	EDefaultNone,
	EDefaultOK,
	EDefaultCancel
};

enum EDialogModalType {
	DialogModalType_Modal,
	DialogModalType_Modalless // 1
};

enum EDialogType {
	DialogType_OKCancel, // 0
	DialogType_OK, // 1
	DialogType_OKCancelInput, // 2
	DialogType_OKInput, // 3
	DialogType_Warning, // 4
	DialogType_Notice, // 5
	DialogType_NumberPad, // 6
	DialogType_Progress, // 7
	DialogType_NumberPad2, // 8
	DialogType_NumberPadAdena // 9
};

enum PawnType {
	PT_NONE,
	PT_NPC,
	PT_PC,
	PT_PET
};

enum EventNotificationCondition {
	NotifyEvent_Always,
	NotifyEvent_Visible
};

enum CollectionRegistFailReason {
	CRFR_None,
	CRFR_UnderNeedEnchant,
	CRFR_HaveNotEnoughItem,
	CRFR_OverNeedEnchant
};

var WindowHandle m_hOwnerWnd;
var bool m_bCreated;
var bool m_bCreatedByXmlData;

native function bool IsPKMode();

native function bool IsFullScreen();

native function RequestExit();

native function RequestAuthCardKeyLogin(int uid, string Value);

native function RequestSelfTarget();

native function RequestTargetCancel();

native function RequestSkillList();

native function RequestRaidRecord();

native function RequestTradeDone(bool bDone);

native function RequestStartTrade(int targetID);

native function RequestAddTradeItem(ItemID sID, INT64 Num);

native function AnswerTradeRequest(bool bOK);

native function RequestSellItem(string param);

native function RequestBuyItem(string param);

native function NotifyFriendRejectState();

native function RequestBuySeed(string param);

native function RequestSetSeed(string param);

native function RequestSetCrop(string param);

native function RequestAttack(int ServerID, Vector Loc);

native function RequestAction(int ServerID, Vector Loc);

native function RequestAssist(int ServerID, Vector Loc);

native function RequestTargetUser(int ServerID);

native function RequestReTargetUser(int ServerID);

native function RequestWarehouseDeposit(string param);

native function RequestWarehouseWithdraw(string param);

native function RequestChangePetName(string Name);

native function RequestPackageSendableItemList(int targetID);

native function RequestPackageSend(string param);

native function RequestPreviewItem(string param);

native function RequestBBSBoard();

native function RequestMultiSellChoose(string param);

native function RequestRestartPoint(RestartPoint eType, int nCostItemClassID, int nCostItemAmount);

native function BR_RequestRestartPoint(int Type, optional int NpcItem);

native function RequestUseItem(ItemID sID);

native function RequestDestroyItem(ItemID sID, INT64 Num);

native function RequestDropItem(ItemID sID, INT64 Num, Vector Location);

native function RequestUnequipItem(ItemID sID, INT64 SlotBitType);

native function RequestCrystallizeItem(ItemID sID, INT64 Number);

native function RequestCrystallizeItemCancel();

native function RequestItemList();

native function RequestDuelStart(string sTargetName, int duelType);

native function RequestDuelAnswerStart(int duelType, int Option, int answer);

native function RequestDuelSurrender();

native function RequestDispel(int ServerID, ItemID sID, int SkillLevel, int SkillSubLevel);

native function RequestQuitPrivateShop(string Type);

native function SendPrivateShopList(string Type, string param);

native function int GetPartyMemberCount();

native function bool GetPartyMemberLocation(int a_PartyMemberIndex, out Vector a_Location);

native function bool GetPartyMemberLocationWithID(int a_PartyMemberSID, out Vector a_Location);

native function RequestClanMemberInfo(int Type, string Name);

native function RequestClanGradeList();

native function RequestClanChangeGrade(string sName, int Grade);

native function RequestClanAssignPupil(string sMaster, string sPupil);

native function RequestClanDeletePupil(string sMaster, string sPupil);

native function RequestClanLeave(string ClanName, int clanType);

native function RequestClanExpelMember(int clanType, string sName);

native function RequestClanAskJoin(int Id, int clanType);

native function RequestClanAskJoinByName(string sName, int clanType);

native function RequestClanDeclareWar();

native function RequestClanDeclareWarWithUserID(int Id);

native function RequestClanDeclareWarWithClanName(string sName);

native function RequestClanWithdrawWar();

native function RequestClanWithdrawWarWithClanName(string sClanName);

native function RequestClanReorganizeMember(int Type, string memberName, int clanType, string targetMemberName);

native function bool RequestClanRegisterCrestByFilePath(string filePath);

native function RequestClanRegisterCrest();

native function RequestClanUnregisterCrest();

native function bool RequestClanRegisterEmblemByFilePath(string filePath);

native function RequestClanRegisterEmblem();

native function RequestClanUnregisterEmblem();

native function bool RequestAllianceRegisterCrestByFilePath(string filePath);

native function RequestClanChangeNickName(string sName, string sNickName);

native function RequestClanWarList(int Page, int State);

native function RequestClanAuth(int gradeID);

native function RequestEditClanAuth(int gradeID, array<int> powers);

native function RequestClanMemberAuth(int clanType, string sName);

native function RequestPCCafeCouponUse(string a_CouponKey);

native function string GetCastleName(int castleID);

native function int GetCastleRegionID(int castleID);

native function string GetCastleLocationName(int castleID);

native function bool HasClanCrest();

native function bool HasClanEmblem();

native function RequestInvitePartyByTargetID(int targetID);

native function RequestInviteParty(string sName);

native function RequestInviteMpcc(string Name);

native final function string GetClassType(int ClassID);

native final function EClassIconType GetClassIndex(int ClassID);

native function int GetClassLevel(int ClassID);

native function EClassRoleType GetClassRoleType(int ClassID);

native final function string GetClassRoleName(int ClassID);

native final function string GetClassRoleNameByRole(int ClassRole);

native final function int GetClassTransferDegree(int ClassID);

native function string GetPlayerRealName();

native function bool GetPlayerInfo(out UserInfo a_UserInfo);

native function bool GetTargetInfo(out UserInfo a_UserInfo);

native function bool GetUserInfo(int UserID, out UserInfo a_UserInfo);

native function bool GetPetInfo(out PetInfo a_PetInfo);

native function bool GetSummonInfo(int ServerID, out SummonInfo a_SummonInfo);

native function GetSummonPoint(out int nSummonedPoint, out int nSummonablePoint);

native function bool GetSkillInfo(int a_SkillID, int a_SkillLevel, int a_SkillSubLevel, out SkillInfo a_SkillInfo);

// Export UUIScript::execGetSkillInfo_WRF(FFrame&, void* const)
native function bool GetSkillInfo_WRF(int a_SkillID, int a_SkillLevel, int a_SkillSubLevel, int a_rank, string a_name, out SkillInfo a_SkillInfo);

native function bool GetAccessoryItemID(out ItemID a_LEar, out ItemID a_REar, out ItemID a_LFinger, out ItemID a_RFinger);

native function int GetDecoIndex(ItemID DecoID);

native function int GetJewelIndex(ItemID JewelID);

native function int GetAgathionIndex(ItemID AgathionID);

native function int GetClassStep(int a_ClassID);

native function bool IsBuilderPC();

native function bool IsPlayerStand();

native function int GetArtifactIndex(ItemID ArtifactID);

native function string GetClanName(int clanID);

native final function int GetClanNameValue(int iClanID);

native final function INT64 GetAdena();

native final function string GetAdenaStr();

native final function int GetTeleportBookMarkCount();

native final function int GetTeleportFlagCount();

native function bool GetPartyMemberInfo(int UserID, out PartyMemberInfo PartyMemberInfo);

native function bool GetPartyMemberPetInfo(int UserID, out PartyMemberPetInfo PartyMemberPetInfo);

native function bool GetPartyMemberSummonedInfo(int UserID, int summonedID, out PartyMemberSummonedInfo PartyMemberSummonedInfo);

native final function string MakeBuffTimeStr(int Time);

native final function string MakeToppingBuffTimeStr(int Time);

native final function string MakeTimeStr(int Time);

native final function string GetTimeString();

native static function float GetAppSeconds();

// Export UUIScript::execGetAppMilliSeconds(FFrame&, void* const)
native static function INT64 GetAppMilliSeconds();

native final function GetTimeStruct(int IntTime, out L2UITime UITimeStruct);

native final function GetTimeStructGMT(int IntTime, out L2UITime UITimeStruct);

native final function string ConvertTimetoStr(int Time);

native final function Debug(string strMsg);

native final function bool IsKeyDown(EInputKey Key);

native final function string GetSystemString(int Id);

native final function string GetSystemMessage(int Id);

native final function GetSystemMsgInfo(int Id, out SystemMsgData SysMsgData);

native final function string GetSystemMessageWithParamNumber(int Id, int param);

native final function string GetNpcString(int Id);

native static function UIScript GetScript(string Window);

native final function string MakeFullSystemMsg(string sMsg, string sArg1, optional string sArg2, optional string sArg3, optional string sArg4, optional string sArg5);

native final function GetTextSizeDefault(string strInput, out int nWidth, out int nHeight);

native final function GetTextSize(string strInput, string sFontName, out int nWidth, out int nHeight);

native final function string DivideStringWithWidth(string strInput, int nWidth);

native final function string NextStringWithWidth(int nWidth);

native final function string MakeFullItemName(int Id);

native final function string GetItemGradeString(int nCrystalType);

native final function string GetItemGradeTextureName(int nCrystalType);

native final function string MakeCostStringINT64(INT64 a_Input);

native final function string MakeCostString(string strInput);

native final function string ConvertNumToText(string strInput);

native final function string ConvertNumToTextNoAdena(string strInput);

native final function string CeilingNum(string strInput, int positionalNum);

native final function string ConvertTimeToString(float Time);

native final function PlayConsoleSound(UIEventManager.EInterfaceSoundType eType);

native final function UIEventManager.EIMEType GetCurrentIMELang();

native final function Texture GetPledgeCrestTexFromPledgeCrestID(int PledgeCrestID);

native final function Texture GetAllianceCrestTexFromAllianceCrestID(int AllianceCrestID);

native final function RequestBypassToServer(string strPass);

native final function string GetUserRankString(int Rank);

native final function string GetRoutingString(int RoutingType);

native final function int GetDebuffType(ItemID cID, int SkillLevel, int SkillSubLevel);

native final function int GetIsMagic(ItemID cID, int SkillLevel, int SkillSubLevel);

native final function bool IsSongDance(ItemID cID, int SkillLevel, int SkillSubLevel);

native final function bool IsIconHide(ItemID cID, int SkillLevel, int SkillSubLevel);

native final function bool IsTriggerSkill(ItemID cID, int SkillLevel, int SkillSubLevel);

native final function bool CheckItemLimit(ItemID cID, INT64 Count);

native function Vector GetClickLocation();

// Export UUIScript::execGetPcCafeItemIconPackageName(FFrame&, void* const)
native function string GetPcCafeItemIconPackageName(optional bool bSmall);

native final function GetCurrentResolution(out int ScreenWidth, out int ScreenHeight);

native final function int GetMaxLevel();

native function SetPrivateShopMessage(string Type, string Message);

native function string GetPrivateShopMessage(string Type);

native final function AddSystemMessage(int Index);

native final function AddSystemMessageString(string Msg);

native final function AddSystemMessageParam(string strParam);

native final function string EndSystemMessageParam(int MsgNum, bool bGetMsg);

native final function ExecRestart();

native final function ExecQuit();

native final function EServerAgeLimit GetServerAgeLimit();

native final function int GetServerNo();

native final function bool CanUseAudio();

native final function bool CanUseJoystick();

native final function bool CanUseHDR();

native final function bool IsEnableEngSelection();

native final function bool IsUseKeyCrypt();

native final function bool IsCheckKeyCrypt();

native final function bool IsEnableKeyCrypt();

native final function UIEventManager.ELanguageType GetLanguage();

native final function int GetLanguageCustom();

native final function GetResolutionList(out array<ResolutionInfo> a_ResolutionList);

native final function GetRefreshRateList(out array<int> a_RefreshRateList, optional int a_nWidth, optional int a_nHeight);

native final function SetResolution(int a_nResolutionIndex, int a_nRefreshRateIndex);

native final function int GetMultiSample();

native final function int GetResolutionIndex();

native final function GetShaderVersion(out int a_nPixelShaderVersion, out int a_nVertexShaderVersion);

native final function SetDefaultPosition();

native final function SetKeyCrypt(bool a_bOnOff);

native final function SetTextureDetail(int a_nTextureDetail);

native final function SetModelingDetail(int a_nModelingDetail);

native final function SetMotionDetail(int a_nMotionDetail);

native final function SetEffectDetail(int Detail);

native final function SetShadow(bool a_bShadow);

native final function SetBackgroundEffect(bool a_bBackgroundEffect);

native final function SetTerrainClippingRange(int a_nTerrainClippingRange);

native final function SetPawnClippingRange(int a_nPawnClippingRange);

native final function SetReflectionEffect(int a_nReflectionEffect);

native final function SetAntialiasing(int a_nAntialiasing);

// Export UUIScript::execSetYebisAntialiasing(FFrame&, void* const)
native final function SetYebisAntialiasing(bool a_bYebisAntialiasing);

native final function SetHDR(int a_nHDR);

native final function SetWeatherEffect(int a_nWeatherEffect);

native final function SetL2Shader(bool a_bShader);

native final function SetDOF(bool a_bDof);

// Export UUIScript::execSetYebisDOF(FFrame&, void* const)
native final function SetYebisDOF(bool a_bYebisDof);

// Export UUIScript::execSetYebisGlow(FFrame&, void* const)
native final function SetYebisGlow(int a_nYebisGlow);

native final function SetDepthBufferShadow(bool a_bShadow);

native final function SetShaderWaterEffect(bool a_bWater);

native final function SetRenderCharacterCount(int a_NewLimitAcotor);

native final function SetIgnorePartyInviting(bool a_bIgnore);

native final function SetIgnoreFriendInviting(bool a_bIgnore);

native final function SetFixedDefaultCamera(bool a_bFixed);

native final function SetOutline(bool a_bOutline);

// Export UUIScript::execCanUseSystemDPIScaling(FFrame&, void* const)
native final function bool CanUseSystemDPIScaling();

native final function ChangeLanguage(int LangType);

// Export UUIScript::execGetLocalizedL2TextPathNameUC(FFrame&, void* const)
native final function string GetLocalizedL2TextPathNameUC();

native final function ExecuteCommand(string a_strCmd);

native final function ExecuteCommandFromAction(string strCmd, optional string param);

native final function DoAction(ItemID cID);

native final function UseSkill(ItemID cID, int ShortcutType);

native final function bool IsStackableItem(int ConsumeType);

native final function StopMacro();

native final function SetOptionBool(string a_strSection, string a_strName, bool a_bValue);

native final function SetOptionInt(string a_strSection, string a_strName, int a_nValue);

native final function SetOptionFloat(string a_strSection, string a_strName, float a_fValue);

native final function SetOptionString(string a_strSection, string a_strName, string a_strValue);

native final function bool GetOptionBool(string a_strSection, string a_strName);

native final function int GetOptionInt(string a_strSection, string a_strName);

native final function float GetOptionFloat(string a_strSection, string a_strName);

native final function string GetOptionString(string a_strSection, string a_strName);

native final function SetChatFilterBool(string a_strSection, string a_strName, bool a_bValue);

native final function bool GetChatFilterBool(string a_strSection, string a_strName);

native final function ApplyOptionToDamageText();

// Export UUIScript::execSendWindowsInfo(FFrame&, void* const)
native final function SendWindowsInfo();

native final function INT64 GetInventoryItemCount(ItemID cID);

native final function string GetSlotTypeString(int ItemType, INT64 SlotBitType, int ArmorType);

native final function string GetWeaponTypeString(int WeaponType);

native final function string GetAttackSpeedString(int AttackSpeed);

native final function float GetSoulShotPower(int CrystalType, int Enchanted, int WeaponType, bool magicWeapon);

native final function float GetSpiritShotPower(int CrystalType, int Enchanted, int WeaponType, bool magicWeapon);

native final function bool IsMagicalArmor(ItemID cID);

native final function bool IsSigilArmor(ItemID Id);

native final function string GetLottoString(int nLookChangeItemID);

native final function string GetRaceTicketString(int Blessed);

native final function RequestSaveInventoryOrder(array<ItemID> a_IDList, array<int> a_OrderList);

native final function RefreshINI(string a_INIFileName);

native final function bool GetINIBool(string section, string Key, out int Value, string file);

native final function bool GetINIInt(string section, string Key, out int Value, string file);

native final function bool GetINIFloat(string section, string Key, out float Value, string file);

native final function bool GetINIString(string section, string Key, out string Value, string file);

native final function SetINIBool(string section, string Key, bool Value, string file);

native final function SetINIInt(string section, string Key, int Value, string file);

native final function SetINIFloat(string section, string Key, float Value, string file);

native final function SetINIString(string section, string Key, string Value, string file);

native final function RemoveINI(string section, string Key, string file);

native final function SaveINI(string file);

native final function bool GetConstantInt(int a_nID, out int a_nValue);

native final function bool GetConstantString(int a_nID, out string a_strValue);

native final function bool GetConstantBool(int a_nID, out int a_bValue);

native final function bool GetConstantFloat(int a_nID, out float a_fValue);

native final function SetSoundVolume(float a_fVolume);

native final function SetEffectVolume(float a_fVolume);

native final function SetAmbientVolume(float a_fVolume);

native final function SetMusicVolume(float a_fVolume);

native final function SetNpcVoiceVolume(float a_fVolume);

native final function SetSystemVoiceVolume(float a_fVolume);

native final function float GetMusicVolume();

native final function TutorialVoiceOff();

native final function TutorialVoiceOn();

native final function float GetVolumeScale(ESoundType a_nType);

native final function ReturnTooltipInfo(CustomTooltip Info);

native final function bool GetItemKeepSelectInfo(ItemID a_ID, out KeepSelectInfo Info);

native final function bool GetItemTextSectionInfos(string FormatText, out string FullText, out array<TextSectionInfo> TextInfos);

// Export UUIScript::execReturnShowXMLDetailTooltip(FFrame&, void* const)
native final function ReturnShowXMLDetailTooltip(bool a_bShow);

// Export UUIScript::execSetShowCompareTooltipOnWorldExchange(FFrame&, void* const)
native final function SetShowCompareTooltipOnWorldExchange(bool a_bHide);

native final function SetItemTextLink(ItemID a_ID, string a_ItemName);

native final function RequestShowVisionMovie();

native final function RequestCallToChangeClass();

native final function RequestChangeToAwakenedClass(int bYes);

event OnLoad();

event OnTick();

event OnShow();

event OnHide();

event OnEvent(int a_EventID, string a_Param);

event OnEventWithParamMap(int a_EventID, ParamMap a_ParamMap);

event OnTimer(int TimerID);

event OnMinimize();

event OnEnterState(name a_PreStateName);

event OnExitState(name a_NextStateName);

event OnSendPacketWhenHiding();

event OnDefaultPosition();

event OnDrawerShowFinished();

event OnDrawerHideFinished();

event OnRegisterEvent();

event OnSetFocus(WindowHandle a_WindowHandle, bool bFocused);

event OnKeyDown(WindowHandle a_WindowHandle, EInputKey Key);

event OnKeyUp(WindowHandle a_WindowHandle, EInputKey Key);

event OnReceivedCloseUI();

event OnLButtonDown(WindowHandle a_WindowHandle, int X, int Y);

event OnLButtonUp(WindowHandle a_WindowHandle, int X, int Y);

event OnLButtonDblClick(WindowHandle a_WindowHandle, int X, int Y);

event OnRButtonDown(WindowHandle a_WindowHandle, int X, int Y);

event OnRButtonUp(WindowHandle a_WindowHandle, int X, int Y);

event OnRButtonDblClick(WindowHandle a_WindowHandle, int X, int Y);

event OnMButtonDown(WindowHandle a_WindowHandle, int X, int Y);

event OnMButtonUp(WindowHandle a_WindowHandle, int X, int Y);

event OnMouseOver(WindowHandle a_WindowHandle);

event OnMouseOut(WindowHandle a_WindowHandle);

event OnMouseMove(WindowHandle a_WindowHandle, int X, int Y);

event OnDropItem(string strID, ItemInfo infItem, int X, int Y);

event OnDragItemStart(string strID, ItemInfo infItem);

event OnDragItemEnd(string strID);

event OnDragItemStartTiny(string strID, ItemInfo infItem);

event OnDropItemSource(string strTarget, ItemInfo infItem);

event OnDropItemWithHandle(WindowHandle hTarget, ItemInfo infItem, int X, int Y);

event OnDropWnd(WindowHandle hTarget, WindowHandle hDropWnd, int X, int Y);

event OnClickButton(string strID);

event OnClickButtonWithHandle(ButtonHandle a_ButtonHandle);

event OnRClickButton(string strID);

event OnRClickButtonWithHandle(ButtonHandle a_ButtonHandle);

event OnButtonTimer(bool bExpired);

event OnTabSplit(string sName);

event OnTabMerge(string sName);

event OnCompleteEditBox(string strID);

event OnChangeEditBox(string strID);

event OnChatMarkedEditBox(string strID);

event OnClickListCtrlRecord(string strID);

event OnDBClickListCtrlRecord(string strID);

event OnRClickListCtrlRecord(string strID);

event OnRollOverListCtrlRecord(string strID, int Index);

event OnClickRichListButton(WindowHandle a_WindowHandle, int X, int Y);

event OnClickHeaderCtrl(string strID, int Index);

event OnLButtonClickListBoxItem(string strID, int SelectedIndex);

event OnRButtonClickListBoxItem(string strID, int SelectedIndex);

event OnDBClickListBoxItem(string strID, int SelectedIndex);

event OnClickCheckBox(string strID);

event OnCilckCheckBoxWithHandle(CheckBoxHandle a_CheckBoxHandle);

event OnClickItem(string strID, int Index);

event OnDBClickItem(string strID, int Index);

event OnRClickItem(string strID, int Index);

event OnRDBClickItem(string strID, int Index);

event OnRClickItemWithHandle(ItemWindowHandle a_hItemWindow, int a_Index);

event OnDBClickItemWithHandle(ItemWindowHandle a_hItemWindow, int a_Index);

event OnSelectItemWithHandle(ItemWindowHandle a_hItemWindow, int a_Index);

event OnProgressTimeUp(string strID);

event OnComboBoxItemSelected(string strID, int Index);

event OnTextureAnimEnd(AnimTextureHandle a_AnimTextureHandle);

event OnPropertyControllerResize(PropertyControllerHandle a_PropertyHandle, int a_Height);

event OnHtmlMsgHideWindow(HtmlHandle a_HtmlHandle);

event OnFlashCtrlMsg(FlashCtrlHandle a_FlashCtrlHandle, string a_Param);

event OnCallUCFunction(string functionName, string param);

event OnScrollMove(string strID, int Position);

native final function PlaySound(string strSoundName);

native final function PlaySoundUntilEnd(string strSoundName);

native final function StopSound(string a_SoundName);

native final function RequestOpenMinimap();

event OnModifyCurrentTickSliderCtrl(string strID, int iCurrentTick);

native final function string GetCurrentZoneName();

native final function int GetCurrentZoneID();

native final function string GetInZoneNameWithZoneID(int inzoneID);

native final function string GetZoneNameWithLocation(Vector Location);

native final function RequestHennaItemInfo(int iHennaID);

native final function RequestHennaItemList();

native final function RequestHennaEquip(int iHennaID);

native final function RequestHennaUnEquipInfo(int iHennaID);

native final function RequestHennaUnEquipList();

native final function RequestHennaUnEquip(int iHennaID);

native final function Vector GetPlayerPosition();

native final function Actor GetCharacterSelectionActor(int a_CharIndex);

native final function string GetSystemDir();

native final function GetFileList(out array<string> FileList, string strDir, string strExtention);

native final function GetDirList(out array<string> DirList, string strDir);

native final function BeginReplay(string strFileName, bool bLoadCameraInst, bool bLoadChatData);

native final function EraseReplayFile(string strFileName);

native final function BeginPlay();

native final function BeginBenchMark();

native final function RequestAcquireSkillInfo(int iID, int iLevel, int iSubLevel, int iType);

native final function RequestAcquireSkill(int iID, int iLevel, int iSubLevel, int iType);

native final function RequestAcquireSkillSubClan(int iID, int iLevel, int iType, int iSubClan);

native final function RequestExEnchantSkillInfo(int iID, int iLevel, int iSubLevel);

native final function RequestExEnchantSkillInfoDetail(int Type, int iID, int iLevel, int iSubLevel);

native final function RequestExEnchantSkill(int Type, int iID, int iLevel, int iSubLevel);

native final function RequestObserverModeEnd();

native final function WindowHandle GetHandle(string a_ControlID, optional WindowHandle a_ParentWnd, optional int a_CloneID);

native final function WindowHandle FindHandle(string a_ControlID, optional WindowHandle a_ParentWnd, optional int a_CloneID);

native final function AnimTextureHandle GetAnimTextureHandle(string a_ControlID);

native final function BarHandle GetBarHandle(string a_ControlID);

native final function ButtonHandle GetButtonHandle(string a_ControlID);

native final function ChatWindowHandle GetChatWindowHandle(string a_ControlID);

native final function CheckBoxHandle GetCheckBoxHandle(string a_ControlID);

native final function ComboBoxHandle GetComboBoxHandle(string a_ControlID);

native final function DrawPanelHandle GetDrawPanelHandle(string a_ControlID);

native final function EditBoxHandle GetEditBoxHandle(string a_ControlID);

native final function MultiEditBoxHandle GetMultiEditBoxHandle(string a_ControlID);

native final function HtmlHandle GetHtmlHandle(string a_ControlID);

native final function ItemWindowHandle GetItemWindowHandle(string a_ControlID);

native final function ListBoxHandle GetListBoxHandle(string a_ControlID);

native final function ListCtrlHandle GetListCtrlHandle(string a_ControlID);

native final function RichListCtrlHandle GetRichListCtrlHandle(string a_ControlID);

native final function MinimapCtrlHandle GetMinimapCtrlHandle(string a_ControlID);

native final function NameCtrlHandle GetNameCtrlHandle(string a_ControlID);

native final function ProgressCtrlHandle GetProgressCtrlHandle(string a_ControlID);

native final function PropertyControllerHandle GetPropertyControllerHandle(string a_ControlID);

native final function RadarMapCtrlHandle GetRadarMapCtrlHandle(string a_ControlID);

native final function SliderCtrlHandle GetSliderCtrlHandle(string a_ControlID);

native final function StatusBarHandle GetStatusBarHandle(string a_ControlID);

native final function StatusRoundHandle GetStatusRoundHandle(string a_ControlID);

native final function StatusIconHandle GetStatusIconHandle(string a_ControlID);

native final function TabHandle GetTabHandle(string a_ControlID);

native final function TextBoxHandle GetTextBoxHandle(string a_ControlID);

native final function TextListBoxHandle GetTextListBoxHandle(string a_ControlID);

native final function TextureHandle GetTextureHandle(string a_ControlID);

native final function TreeHandle GetTreeHandle(string a_ControlID);

native final function WindowHandle GetWindowHandle(string a_ControlID);

native final function EffectViewportWndHandle GetEffectViewportWndHandle(string a_ControlID);

native final function CharacterViewportWindowHandle GetCharacterViewportWindowHandle(string a_ControlID);

native final function SceneCameraCtrlHandle GetSceneCameraCtrlHandle(string a_ControlID);

native final function SceneCameraCtrlHandle GetSceneNpcCtrlHandle(string a_ControlID);

native final function SceneCameraCtrlHandle GetScenePcCtrlHandle(string a_ControlID);

native final function SceneCameraCtrlHandle GetSceneScreenCtrlHandle(string a_ControlID);

native final function SceneCameraCtrlHandle GetSceneMusicCtrlHandle(string a_ControlID);

native final function WebBrowserHandle GetWebBrowserHandle(string controlID);

native final function RequestProcureCropList(string param);

native final function int GetManorCount();

native final function int GetManorIDInManorList(int Index);

native final function string GetManorNameInManorList(int Index);

native final function bool GetQuestLocation(Vector Location);

native final function ShowMessageInLogin(string Message);

native final function InitCreditState();

native final function string GetInterfaceDir();

native final function string GetXMLControlString(EXMLControlType Type);

native final function EXMLControlType GetXMLControlIndex(string Type);

native final function ShowVirtualWindowBackground(bool bShow);

native final function ShowExampleAnimation(bool bShow);

native final function GetTrackerAttachedWindowList(array<WindowHandle> a_WindowList);

native final function WindowHandle GetTrackerAttachedWindow();

native final function ClearTracker();

native final function DeleteAttachedWindow();

native final function ExecuteAlign(ETrackerAlignType Type);

native final function ShowEnableTrackerBox(bool bShow);

native final function CreateNewCharacter();

native final function GotoLogin();

native final function GotoServerList();

native final function StartGame(int SelectedCharacter);

native final function RequestCharacterSelect(int Index);

native function bool GetSelectedCharacterInfo(int Index, out UserInfo a_UserInfo);

native final function RequestRestoreCharacter(int Index);

native final function RequestDeleteCharacter(int Index);

native final function ResetCharacterPosition();

native function bool IsScheduledToDeleteCharacter(int Index);

native function bool IsDisciplineCharacter(int Index);

native final function SetSelectedCharacter(int Index);

native function int GetTimeToDeleteCharacter(int Index);

native function int GetTimeToDisciplineCharacter(int Index);

native function int GetTimeToLastLogoutCharacter(int Index);

native function bool IsActivateCharacter(int Index);

native final function RequestCreateCharacter(string Name, int Race, int Job, int Sex, int HairType, int HairColor, int FaceType, E_CHARACTER_COLOR eColor);

native final function RequestPrevState();

native final function SetDefaultCharacter();

native final function ClearDefaultCharacterInfo();

native final function ExecLobbyEvent(string EventName, optional bool bReverse);

native final function ExecLobbyNextEvent(string CurEventName, string NextEventName, optional bool bReverse);

native function string GetClassDescription(int Index);

native function array<int> GetClassInitialStat(int Index);

native function array<int> GetClassInitialStatEx(int ClassType, int Race, int Sex);

native final function ShowDefaultCharacter(int Index, optional bool bRaceChanged);

native final function SetCharacterStyle(int Index, int HairType, int HairColor, int FaceType);

native final function SetCharacterColor(E_CHARACTER_COLOR eColor);

native final function DefaultCharacterMouseTurn(int Index, float ratio);

native final function DefaultCharacterTurn(int Index, float ratio);

native final function DefaultCharacterStop(int Index);

native function bool CheckNameLength(string Name);

native function bool CheckValidName(string Name);

native function int CharacterCreateGetClassType(int Race, int Job, int Sex);

native final function RequestAllCastleInfo();

native final function RequestAllFortressInfo();

native final function RequestAllAgitInfo();

native final function RequestFortressSiegeInfo();

native final function RequestFortressMapInfo(int FortressID);

native final function RequestPVPMatchRecord();

native final function RequestChangeNicknameNColor(int ColorIndex, string nickname, ItemID Id);

native final function int GetMaxNicknameColorIndexCnt();

native final function Color GetNicknameColorWithIndex(int ColorIndex);

native final function RequestWithDrawPremiumItem(int Index, INT64 Amount);

native final function RequestStartShowCrataeCubeRank();

native final function RequestStopShowCrataeCubeRank();

native final function RequestJoinDominionWar(int DominionID, int Clan, int Join, int JoinID);

native final function RequestDominionInfo();

native final function Texture GetDominionFlagIconTex(int DominionID);

native function RequestRefundItem(string param);

native final function RequestSendPost(string receivedPerson, int safeMail, string Title, string contents, array<RequestItem> itemIDList, INT64 nAdena);

native final function RequestRequestReceivedPostList();

native final function RequestDeleteReceivedPost(array<int> deleteMailList);

native final function RequestRequestReceivedPost(int mailID);

native final function RequestReceivePost(int mailID);

native final function RequestRejectPost(int mailID);

native final function RequestRequestSentPostList();

native final function RequestDeleteSentPost(array<int> deleteMailList);

native final function RequestRequestSentPost(int mailID);

native final function RequestCancelSentPost(int mailID);

native final function RequestPostItemList();

native final function RequestShowNewUserPetition();

native final function RequestShowStepTwo(int categoryId);

native final function RequestShowStepThree(int categoryId);

native final function bool GetUseNewPetitionBool();

native final function UIScript.PetitionMethod GetPetitionMethod();

native final function RequestShowPetitionAsMethod();

native final function RequestBuySellUIClose();

native final function string GetGameStateName();

native function RequestBR_EventRankerList(int iEventID, int iDay, int iRanking);

native final function RequestCreateRainEffect(int imode, int iEmitterposition);

native final function RequestDeleteRainEffect();

native final function RequestSetWeatherEffect(int iType);

native final function RequestSetRainWeight(float fmul);

native final function RequestSetRainEmitterParticleNum(float fmul);

native final function RequestSetRainSpeed(float fmul);

native final function RequestSetRainMeshScale(Vector mul);

native final function RequestCreateSnowEffect(int imode, int iEmitterposition);

native final function RequestDeleteSnowEffect();

native final function RequestSetSnowWeight(float fmul);

native final function RequestSetSnowEmitterParticleNum(float fmul);

native final function RequestSetSnowSpeed(float fmul);

native final function RequestSetSnowMeshScale(Vector mul);

native final function RequestChangeParticleEmitter(string emitterName);

native final function RequestChangeDiamondMesh(string MeshName);

native final function ClearAllPrivateMarketInfo();

native final function RefreshPrivateMarketInfo();

native final function RequestMoveToMerchant(int merchantId);

native final function array<FileNameInfo> GetFilesInfoList(string filePath, array<string> arrFilExt);

native final function array<DriveInfo> GetDrivesInfoList();

native final function AnswerCoupleAction(int ActionID, int bOK, int requestUserID);

native final function string GetMydocumentPath();

native final function string GetDesktopPath();

native final function string GetMyComputerPath();

native final function RequestPartyLootingModify(int scheme);

native final function RequestPartyLootingModifyAgreement(int agree);

native final function RequestAskMemberShip();

native final function RequestAddExpandQuestAlarm(int questID);

native final function RadioButtonHandle GetRadioButtonHandle(string a_ControlID);

native final function OpenGivenURL(string URL);

native final function OpenL2Home();

native final function RequestSetYCbCrConversionEffect(bool Enable);

native final function RequestSetYCbCrVal(float fixCbCr, int PlayType, float yCOR1, float cbCOR1, float crCOR1, float yCOR2, float cbCOR2, float crCOR2, float YCbCrConsumingTime);

native final function RequestSetHSVConversionEffect(bool Enable);

native final function RequestSetHSVVal(float fixHS, int PlayType, float hCOR1, float sCOR1, float vCOR1, float hCOR2, float sCOR2, float vCOR2, float HSVConsumingTime);

native final function RequestSetRGBConversionEffect(bool Enable);

native final function RequestSetRGBVal(int PlayType, float rCOR1, float gCOR1, float bCOR1, float rCOR2, float gCOR2, float bCOR2, float RGBConsumingTime);

native final function RequestSetColorGradingEffect(bool Enable);

native final function RequestSetColorGradingVal(int PlayType, string COR1, string COR2, float RGBConsumingTime);

native final function RequestSetPostEffect(bool Enable, int PostEffectID);

native final function RequestPartyMatchWaitList(int a_Page, int a_MinLevel, int a_MaxLevel, int ClassRole, string Name);

native final function RequestMenteeWaitingList(int Page, int MinLevel, int MaxLevel);

native final function SetMotionBlurUse(bool bIsUse);

native final function SetMotionBlurAlpha(byte alphavalue);

native final function ToggleReplayRec();

native final function RequestFinishNPCZoomCamera();

native final function SetHDRRenderVal(float FinalCoef, float GrayLum, float ClampMin, float ClampMax);

native final function SetUseHDRRenderEffect(bool UseHDREffect);

native final function RequestNatureRenderTime(float Time);

native final function RequestNatureRenderIntensity(float Intensity);

native final function RequestNatureRenderRayleigh(float Rayleigh);

native final function RequestNatureRenderMie(float Mie);

native final function RequestNatureRenderTurbidity(float Turbidity);

native final function RequestNatureRenderDir(float Dir);

native final function RequestNatureRenderBlendingRate(float BlendingRate);

native final function int GetActivityUltimateSkillLevel();

native final function Texture GetTexture(string Name);

native function RequestBR_CashShopNewICon();

native function RequestBR_GamePoint();

native function RequestBR_ProductList(EBR_CashShopProduct ProductType);

native function RequestBR_ProductInfo (int iProductID, bool bPresent);

native function RequestBR_BuyProduct(int iProductID, int iAmount);

native function RequestBR_RecentProductList();

native function RequestBR_AddBasketProductInfo(int iProductID);

native function RequestBR_DeleteBasketProductInfo(int iProductID);

native function RequestBR_PresentBuyProduct(int iProductID, int iAmount, string strCharname, string strContent);

native function bool IsBr_CashShopCateory();

native function bool RequestBr_CashShopCateoryIndex();

native function bool IsBr_CashShopPresent();

native function bool IsBr_CashShopCoinToMoney();

native function float GetBr_CashShopCoinToMoneyValue();

native function bool IsBr_CashShopMainDisable();

native function RequestBR_MinigameLoadScores();

native function RequestBR_MinigameInsertScore(int iScore);

native function ShowCashChargeWebSite();

native function IsUsingPrimeShop();

native function int BR_GetShowEventUI();

native final function string BR_ConvertTimeToStr(int Time, int bOnlyDay);

native final function int BR_GetDayType(int Time, int Type);

native final function string GetFormattedTimeStrMMHH(int Hour, int Minute);

native final function RequestGoodsInventoryItemList();

native final function RequestGoodsInventoryItemDesc(int Index);

native final function RequestUseGoodsInventoryItem(int Index);

native final function string GetGoodsIconName(int Index);

native final function bool IsUseGoodsInvnentory();

native final function RequestSecondaryAuthCreate(string Password);

native final function RequestSecondaryAuthVerify(string Password);

native final function RequestSecondaryAuthModify(string Password, string newPassword);

native final function bool IsUseSecondaryAuth();

native final function bool IsUseEMailAccount();

native final function RequestCharacterNameCreatable(string charName);

native final function RequestCrystallizeEstimate(ItemID ItemID, INT64 ItemCount);

native final function GetShortcutString(int shortcutNum, out ShortcutCommandItem commandItem);

native final function RequestPledgeWar(string PledgeName);

native final function RequestSurrenderPledgeWar(string sPledgeName);

native final function bool IsL2NetLoginState();

native final function bool GetDynamicContentInfo(int Id, int Step, out DynamicContentInfo Info);

native final function RequestDynamicQuestProgressInfo(int Id, int Step);

native final function RequestDynamicQuestScoreInfo(int Id, int Step);

native final function RequestDynamicContentHtml(int Id, int Step);

native final function int GetSkillAvailability(int Id, int Level, int SubLevel);

native final function PawnType GetPawnType(int ServerID);

native final function string GetPawnNameFromServerID(int ServerID);

native final function Vector GetPawnLocFromServerID(int ServerID);

native final function RequestTutorialQuestionMarkPressed(int iQuestionID);

native final function RequestTutorialMarkPressed(int Type, int Id);

native final function RequestAutoLogin();

native final function bool IsNowMovieCapturing();

native final function SetMovieCaptureResolution(int W, int h);

native final function MovieCaptureToggle();

native final function SetMovieCaptureHighQuality();

native final function SetMovieCaptureLowQuality();

native final function OpenMovieCaptureDir();

native final function int GetDisplayHeight();

native final function int GetDisplayWidth();

native final function string GetL2Path();

native final function int GetMaxVitality();

native final function float ExpFloat(float A, int Exp);

native final function int ExpInt(int A, int Exp);

native final function RequestLogin(string s_ID, string s_PassWD, int s_NCOTP);

native final function RequestLoginServer(int ServerID);

native final function RequestSecurityCardLogin(string SecurityNum);

native final function RequestGoogleOtpLogin(string SecurityNum);

native final function EulaAgree(bool IsAgree);

native final function RequestSortedServerInfo();

native final function bool IsUseOTP();

native final function RefuseLogin();

native final function StopLogin();

native final function AutoLogin(int Server, int character);

native final function SaveLastLoginID(string Id);

native final function string GetLastLoginID();

native final function FullScreenMovieStart();

native final function FullScreenMovieEnd();

native final function RequestFlyMoveStart();

native final function RequestCardKeyLogin(string Pass);

native final function RequestCardKeyLoginCancel();

native final function bool IsChinaClient();

// Export UUIScript::execIsNewChinaLive(FFrame&, void* const)
native final function bool IsNewChinaLive();

native final function string GetChinaPkString();

native final function StartCredit();

native final function EndCredit();

native final function SetTestTerrainAmbientColor(Color ambient);

native final function SetTestActorAmbientColor(Color ambient);

native final function SetTestStaticMeshAmbientColor(Color ambient);

native final function SetTestBspAmbientColor(Color ambient);

native final function SetTestSkyBoxColor(Color Col);

native final function SetTestSkyBspAmbientColor(Color ambient);

native final function SetTestHsvActorLightColor(Color LightColor);

native final function SetTestHsvStaticMeshLightColor(Color LightColor);

native final function SetTestHsvTerrainLightColor(Color LightColor);

native final function SetTestGammaSetting(float Brightness, float Contrast, float Gamma);

native final function SetEnableTerrainAmbient(bool bEnable);

native final function SetEnableActorAmbient(bool bEnable);

native final function SetEnableStaticMeshAmbient(bool bEnable);

native final function SetEnableBspAmbient(bool bEnable);

native final function SetEnableSkyBoxColor(bool bEnable);

native final function SetEnableSkyBspAmbient(bool bEnable);

native final function SetEnableHsvActorLight(bool bEnable);

native final function SetEnableHsvStaticMeshLight(bool bEnable);

native final function SetEnableHsvTerrainLight(bool bEnable);

native final function SetEnableGammaSetting(bool bEnable);

native final function SetEnableWindowDefaultGamma(bool bEnable);

native final function SetEnableGammaCorrection(bool bEnable);

native final function SetEnableLightMapIntensity(bool bEnable);

native final function SetEnvTime(float Time);

native final function SetTestBeastLightMapIntensity(float Intensity1, float Intensity2);

native final function SetTestGodRayOption(float GodRaySize, float GodRayBrightness, float GodRayEmit);

native final function SetEnableGodRay(bool bEnable);

native final function SelectChangeAttributeItem(int GroupID, int ServerID);

native final function RequestChangeAttributeItem(int GroupID, int ServerID, int changeAttribute);

native final function RequestChangeAttributeCancel();

native function SetClosingOnESC();

native final function bool HasStackableItemInWareHouse(int Type, int ItemID);

native final function bool HasStackableItemInInventory(int Type, int ItemID);

native final function RequestInzoneWaitingTime(optional bool bShowWindow);

native final function bool IsNative();

native final function string ToUpper(string Text);

native final function string ToLower(string Text);

native final function RequestJoinCuriousHouse();

native final function RequestCancelCuriousHouse();

native final function RequestLeaveCuriousHouse();

native final function RequestCuriousHouseHtml();

native final function RequestObservingListCuriousHouse();

native final function RequestObservingCuriousHouse(int HouseID);

native final function RequestLeaveObservingCuriousHouse();

native final function bool IsActivedZoneQuestExist();

native final function bool IsActivedCampaignExist();

native final function bool AmILeader();

native final function SetAlwaysOnBack(bool bAlwaysOnBack);

native final function CallGFxFunction(string WindowName, string functionName, string param);

native final function string ConvertBRCashShopDayWeek(int iDayWeek);

native final function bool IsActivedBRCampaignExist();

native final function bool GetEventContentInfo(int Id, int Step, int GoalGroupID, out EventContentInfo Info);

native final function RequestEventCampaignProgressInfo(int Id, int Step, int GoalGroupID);

native final function RequestEventCampaignScoreInfo(int Id, int Step, int GoalGroupID);

native final function RequestEventCampaignHtml(int Id, int Step, int GoalGroupID);

native final function int GetUIUserPremiumLevel();

native final function ResponsePetitionAlarm();

native final function int AddTimeData(string Name);

native final function MeasureTimeOn(int Id);

native final function MeasureTimeOff(int Id);

native final function MeasureTimeStart(int Id);

native final function MeasureTimeEnd(int Id);

native final function bool IsPlayerOnWorldRaidServer();

native final function UIScript.ReleaseMode GetReleaseMode();

native final function EnableChatWndResizing(bool bEnable);

native final function Color GetChatColorByType(int Type);

// Export UUIScript::execGetChatSubColorByType(FFrame&, void* const)
native final function Color GetChatSubColorByType(int Type);

native final function int ChatNotificationFilter(out string processedMsg, string orignalMsg, string keyword0, string keyword1, string keyword2, string keyword3);

native final function SetChatMessage(string a_Message, optional bool IsAppend);

native final function ProcessChatMessage(string chatMessage, optional SayPacketType SayType, optional bool bStopMacro, optional bool bSharedPosition);

native function string GetChatPrefix(SayPacketType SayType);

native function bool IsSameChatPrefix(SayPacketType SayType, string InputPrefix);

native final function ProcessPetitionChatMessage(string a_strChatMsg);

native final function ProcessPartyMatchChatMessage(SayPacketType SayType, string a_strChatMsg);

native final function ProcessCommandChatMessage(string a_strChatMsg);

native final function ProcessCommandInterPartyChatMessage(string a_strChatMsg);

native final function SwitchSingleMeshMode(bool bUse);

native final function int GetLoginMapType();

// Export UUIScript::execIsActivateUSMBackground(FFrame&, void* const)
native final function bool IsActivateUSMBackground(int a_ServerType);

native final function RequestAlchemySkillList();

native final function int GetAlchemySkillGradeType(int SkillID, int SkillLevel);

native final function int GetServerType();

native final function bool IsBloodyServer();

native final function bool IsAdenServer();

native final function int RefreshRecipeOfferingRate(INT64 TotalDP, bool bIsShop);

native final function RequestAttendanceCheck();

native final function RequestAttendanceWndOpen();

native final function bool IsAttendanceSystemEnable();

native final function Texture GetCaptchaImageTex();

native final function RequestRefreshCaptchaImage(INT64 Id);

native final function RequestCaptchaAnswer(INT64 Id, int AnswerCode);

native final function bool IsUsePrivateStore();

native final function CrossEnterEventRoom();

native final function QTRequestEnterPartyRoom();

native final function QTRequestBindClanRoom();

native final function QTRequestEnterClanRoom();

native final function QTRequestGetCurRoomInfo();

native final function RequestTodoListRecommand(bool allLevel);

native final function RequestTodoListInzone(bool allLevel);

native final function RequestTodoListHTML(int listType, string typeID);

native final function RequestOneDayRewardReceive(int ServerID);

native final function RequestOneDayRewardItemList(int rewardID);

native final function string RequestOneDayRewardDesc(int rewardID);

native final function string RequestOneDayRewardPeriod(int rewardID);

native final function RequestTodoListOneDayReward();

native final function bool IsUseToDoList();

native final function RequestCastleWarSeasonReward(int SeasonCastleID);

native final function RequestUserFactionInfo(EFactionRequsetType eType, int nUserServerID);

native final function GetUserFactionInfoList(int nUserServerID, out array<L2UserFactionUIInfo> arrFactionInfoList);

native final function GetFactionData(int nFactionID, out L2FactionUIData FactionData);

native final function GetMonsterBookIDs(out array<int> MonsterBookIDs);

native final function GetMonsterBookData(int nMonsterBookID, out L2MonsterBookUIData MonsterData);

native final function ClipboardCopy(string Str);

native final function string ClipboardPaste();

native final function StringIntoArray(string Str, string delim, out array<string> tokens);

native final function bool StringMatching(string Str, string pattern, string delim);

native function int appRound(float Value);

native function int appFloor(float Value);

native function int appCeil(float Value);

native function float appFractional(float Value);

native final function SoulShotSlotSelected(int Type, int iClassID);

native final function SoulShotSlotClicked(int Type, int iClassID);

native final function GetAutoEquipShotList(int Type, out array<ItemInfo> arrShotItemList);

native final function bool IsUseAutoEquipSoulShot();

// Export UUIScript::execIsUseSteam(FFrame&, void* const)
native final function bool IsUseSteam();

// Export UUIScript::execIsUseTokenLogin(FFrame&, void* const)
native final function bool IsUseTokenLogin();

// Export UUIScript::execCashShopCoinChargeForSteam(FFrame&, void* const)
native final function bool CashShopCoinChargeForSteam();

// Export UUIScript::execPledgeBonusOpen(FFrame&, void* const)
native final function PledgeBonusOpen();

// Export UUIScript::execPledgeBonusReward(FFrame&, void* const)
native final function PledgeBonusReward(int Type_);

native final function PledgeBonusRewardList();

native final function bool IsUsePledgeBonus();

native final function CancelWaitingQueueTicket();

native final function RequestBlockListForAD(string charName, string ChatMsg);

native final function bool GetMinimapRegionIconData(int nRegionID, out MinimapRegionIconData IconData);

native final function int GetEventAlarmDataCount();

native final function GetEventAlarmDataByIndex(int Index, out EventAlarmUIData EventData);

native final function RequestAccountAttendanceReward(byte cRewardType);

native final function RequestAccountAttendanceInfo();

native final function RequestEntireCardRewardList();

native final function RequestCardReward(int Id);

native final function RequestUserBanInfo(int UserID);

native final function CardUpdownGamePickNumber(int nNumber);

native final function CardUpdownGameRewardRequest();

native final function CardUpdownGameRetry();

native final function CardUpdownGameQuit();

native final function int GetAgathionMainSkillList(int a_iClassID, int a_iEnchanted, out array<SkillInfo> mainSkillList);

native final function int GetAgathionSubSkillList(int a_iClassID, int a_iEnchanted, out array<SkillInfo> subSkillList);

native final function RequestSwapAgathionSlotItems(INT64 SrcSlotBitType, ItemID SrcID, INT64 DesSlotBitType, ItemID DesID);

native final function GetTutorialIndices(out array<TutorialIndex> arrTutorialIndices);

native final function bool GetTutorialBody(int Id, int Level, out TutorialBody outBody);

native final function bool GetPledgeMissionData(int nMissionID, out PledgeMissionUIData pledgeMissionData);

native final function RequestPledgeMissionInfo();

native final function RequestPledgeMissionReward(int nMissionID);

native final function RequestCreatePledge(string Name);

native final function RequestPledgeItemList();

native final function RequestPledgeItemInfo(int nItemClassID);

native final function RequestPledgeItemActivate(int nItemClassID);

native final function RequestPledgeItemBuy(int nItemClassID, int nAmount);

native final function string GetPledgeMasteryName(int nPledgeMasteryID);

native final function RequestElementalSpiritInfo(int nIsOpen);

native final function GetElementalSpiritExpData(int nType, int nEvolLevel, int nSpiritLevel, out INT64 ExpValue);

native final function FlashWindow();

native final function RequestOlympiadRecord();

native final function ShowQuestInfoWindow();

native final function RequestEnchantArtifact(int Artifact, array<int> Materials);

native final function RequestPurchaseLimitShopItemList(int nShopIndex);

native final function RequestPurchaseLimitShopItemBuy(int nShopIndex, int nItemClassID, int nItemAmount);

native final function GetSubTitle(int EventID, int GroupID, out string strSubTitle);

native final function GetRewardCardTexName(int EventID, int GroupID, int ItemID, out string strTexName);

native final function bool IsUseCostume();

native final function bool RequestFestivalInfo(bool IsUIOpen);

native final function bool RequestFestivalGame();

native final function RequestOpenWndWithoutNPC(HTML_OPEN_TYPE iType);

native final function RequestMagicLampGameInfo(int GameMode);

native final function RequestMagicLampGameStart(int GameMode, int GameCount);

native final function RequestPaybackList(int nPaybackEventIdType);

native final function RequestPaybackGiveReward(int nPaybackEventIdType, int nSetIndex);

native final function SelectCounterAttackTarget();

native final function ResetCounterAttackList();

native final function UpdateAutoplaySetting(AutoplaySettingData Settings);

native final function bool GetLCoinShopProductData(int nProductID, out LCoinShopProductUIData productData);

native final function GetLCoinShopBannerData(out array<LCoinShopBannerUIData> arrBannerData);

native final function bool GetPledgeShopProductData(int nShopIndex, int nProductID, out PledgeShopProductUIData productData);

native final function bool GetGachaShopData(int nShopID, out L2GachaShopUIData shopData);

native final function bool GetGachaShopGroupData(int nShopID, int nGroupID, out L2GachaShopGroupUIData groupData);

native final function bool GetGachaShopGroupDataAll(int nShopID, out array<L2GachaShopGroupUIData> arrGroupData);

native final function RequestGachaShopInfo();

native final function RequestGachaShopGachaGroup(int nShopID);

native final function RequestGachaShopGachaItem(int nShopID, int nGroupID);

native final function RequestTimeRestrictFieldList();

native final function RequestEnterTimeRestrictField(int FiedlId);

native final function bool GetTimeRestrictFieldInfo(int FieldId, out TimeRestrictFieldUIData fieldInfo);

native final function RequestRankingCharInfo();

native final function RequestRankingCharRankers(RankingGroup eRankingGroup, RankingScope eRankingScope, int iRace, optional int iClass);

native final function int GetRankingRewardSkillID(RankingType eRankingType, RankingGroup eRankingGroup, int Grade);

native final function int GetRankingGrade(RankingType eRankingType, RankingGroup eRankingGroup, int Ranking);

native final function RequestMyRankingHistory();

native function bool IsFinalRelease();

native function bool IsTencentLoginSystem();

// Export UUIScript::execIsCmdLineLogin(FFrame&, void* const)
native function bool IsCmdLineLogin();

native function bool RequestAuthLoginForTCLS();

native final function int GetLetterCollectData(out array<LetterCollectUIData> arrLetterCollectUIData);

native final function int GetStatBonusNameData(out array<StatBonusNameUIData> arrStatBonusNameUIData);

native final function int GetStatBonusResetData(int nResetPoint, out array<RequestItem> arrStatBonusResetUIData);

native final function int GetLevelUpItemPhysicalDamageBonus(int ClassID, int PlayerLevel);

native final function int GetLevelUpItemMagicalDamageBonus(int ClassID, int PlayerLevel);

native final function int GetLevelUpItemPhysicalDefenseBonus(int ClassID, int PlayerLevel);

native final function int GetLevelUpItemMagicalDefenseBonus(int ClassID, int PlayerLevel);

native final function bool UseContents(string ContentsName);

native final function RequestMPlayerPush(int Category, string Msg);

native final function bool IsDeathKnightClass(int OriginalClassID);

// Export UUIScript::execIsDeathFighterClass(FFrame&, void* const)
native final function bool IsDeathFighterClass(int OriginalClassID);

// Export UUIScript::execIsOrcRiderClass(FFrame&, void* const)
native final function bool IsOrcRiderClass(int OriginalClassID);

// Export UUIScript::execIsAssassinClass(FFrame&, void* const)
native final function bool IsAssassinClass(int OriginalClassID);

native final function GetSharedPositionData(out SharedPositionData Data);

native final function SetMPlayerClientVar(string Name, string Var);

native final function bool GetMableGameCellData(int CellID, out MableGameCellData Data);

native final function bool GetMableGameEventData(int CellID, MableGameEventType EventType, out MableGameEventData Data);

native final function int GetMaxElixir();

native final function int GetMagicLampMaxCharge(int Level);

native final function bool GetPledgeDonationData(int DonationType, out PledgeDonationData Data);

native final function RequestEnemyPledgeRegister();

native final function string ConvertWorldStrToID(string worldstr);

native final function string ConvertWorldIDToStr(string worldstr);

native final function bool GetPledgeLevelData(int PledgeLevel, out PledgeLevelData Data);

native final function bool StartLoginState();

native final function bool LoginWaitState();

native final function bool RequestRankingFestivalBonus(array<int> nPoints);

native final function bool GetSteadyBoxString(int nEventID, out string Type, out string Title, out string Desc);

native final function GetSteadyBoxSlotInfo(int nSlotIndex, out int ItemID, out int Amount);

native final function bool GetCollectionData(int collection_ID, out CollectionData Data);

native final function bool GetCollectionMainData(int main_id, out CollectionMainData Data);

native final function bool GetCollectionIdByItemName(out array<int> collectionid, int Category, bool onlyComplete, bool onlyNotComplete, optional bool favorite, optional string ItemName, optional string optionName, optional bool onlyProgress);

native final function bool GetCollectionIdByItemId(out array<int> collectionid, int ItemID);

native final function bool IsCollectionRegistEnableItem(ItemID sID, optional int collectionid, optional int SlotID);

native final function bool IsCollectionRegistEnableItemWithReason(ItemID sID, int collectionid, int SlotID, out CollectionRegistFailReason Reason);

native final function bool GetCollectionInfo(int collection_ID, out CollectionInfo Info);

native final function bool GetCollectionCount(int Category, out CollectionCount Count);

native final function bool GetCollectionOption(out array<CollectionOption> Option);

native final function bool GetCompletePeriodCollection(out array<int> collectionid);

native final function bool GetCollectionOptionName(int Category, out array<string> optionName);

native final function GetCharacterAbilityData(out array<L2CharacterAbilityUIData> o_arrData);

native final function string GetGeneralEffectName(string nameKey);

native static function GetSubjugationList(out array<SubjugationData> o_arrData);

native final function bool GetPurchaseLimitCraftData(int nShopIndex, int nProductID, out PurchaseLimitCraftUIData Data);

// Export UUIScript::execGetDethroneConnectCost(FFrame&, void* const)
native final function GetDethroneConnectCost(out array<RequestItem> o_arrData);

// Export UUIScript::execGetDethroneChangeNameCost(FFrame&, void* const)
native final function GetDethroneChangeNameCost(out array<RequestItem> o_arrData);

// Export UUIScript::execGetDethroneDailyMissionData(FFrame&, void* const)
native final function bool GetDethroneDailyMissionData(int MissionID, out DethroneDailyMissionData o_data);

// Export UUIScript::execGetDethroneCategory(FFrame&, void* const)
native final function int GetDethroneCategory(int DistrictID);

// Export UUIScript::execGetDethroneDistrictName(FFrame&, void* const)
native final function string GetDethroneDistrictName(int DistrictID);

// Export UUIScript::execGetServerMarkName(FFrame&, void* const)
native final function string GetServerMarkName(int WorldID);

// Export UUIScript::execGetNickNameItemData(FFrame&, void* const)
native final function bool GetNickNameItemData(int Id, out NickNameItemData Data);

// Export UUIScript::execGetNickNameIconImage(FFrame&, void* const)
native final function string GetNickNameIconImage(int Id);

// Export UUIScript::execRequestDisassembleItemInfo(FFrame&, void* const)
native final function bool RequestDisassembleItemInfo(array<byte> a_itemAssemble, out ItemInfo o_itemInfo);

// Export UUIScript::execGetWorldCastleWarMapInfo(FFrame&, void* const)
native final function GetWorldCastleWarMapInfo(EWorldCastleWarMapNPCType a_npcType, out array<WorldCastleWarMapData> o_npcInfo);

// Export UUIScript::execAddPledgeInfo(FFrame&, void* const)
native final function AddPledgeInfo(int PledgeID, int PledgeCrestID);

// Export UUIScript::execIsPlayerOnOlympiad(FFrame&, void* const)
native final function bool IsPlayerOnOlympiad();

// Export UUIScript::execGetL2PassReward(FFrame&, void* const)
native final function GetL2PassReward(int nPassType, int nStartIndex, int nEndIndex, out array<L2PassRewardData> RewwardData);

// Export UUIScript::execGetL2PassRewardTotalList(FFrame&, void* const)
native final function GetL2PassRewardTotalList(int nPassType, bool IsPaid, int CompleteStep, out array<L2PassRewardTotalData> RewwardTotalData);

// Export UUIScript::execGetL2PassHuntingMaxTime(FFrame&, void* const)
native final function int GetL2PassHuntingMaxTime();

// Export UUIScript::execGetL2PassRewardStepMaxCount(FFrame&, void* const)
native final function int GetL2PassRewardStepMaxCount(int nPassType);

// Export UUIScript::execGetL2PassMaxCount(FFrame&, void* const)
native final function int GetL2PassMaxCount(int nPassType);

// Export UUIScript::execGetL2PassLastItem(FFrame&, void* const)
native final function int GetL2PassLastItem(int nPassType, bool IsPaid);

// Export UUIScript::execGetL2PassAdvanceFreeCount(FFrame&, void* const)
native final function int GetL2PassAdvanceFreeCount();

// Export UUIScript::execGetL2PassPremiumPassCost(FFrame&, void* const)
native final function GetL2PassPremiumPassCost(int nPassType, out int nItemID, out int nItemCnt);

// Export UUIScript::execGetL2PassAdvanceInfo(FFrame&, void* const)
native final function GetL2PassAdvanceInfo(array<int> EnableList, out array<L2PassAdvanceData> EnchantData);

// Export UUIScript::execGetEventHtmlString(FFrame&, void* const)
native final function GetEventHtmlString(int Index, out string Title, out string Desc);

// Export UUIScript::execGetWorldExchangeData(FFrame&, void* const)
native final function WorldExchangeUIData GetWorldExchangeData();

// Export UUIScript::execGetMagicLampNormalResultItemList(FFrame&, void* const)
native final function bool GetMagicLampNormalResultItemList(out array<MagicLampResultItemUIData> o_ItemList);

// Export UUIScript::execGetMagicLampAdvancedResultItemList(FFrame&, void* const)
native final function bool GetMagicLampAdvancedResultItemList(out array<MagicLampResultItemUIData> o_ItemList);

// Export UUIScript::execIsInTimeRestrictField(FFrame&, void* const)
native final function bool IsInTimeRestrictField();

// Export UUIScript::execGetBalrogwarData(FFrame&, void* const)
native final function BalrogwarUIData GetBalrogwarData();

// Export UUIScript::execGetMissionLevelData(FFrame&, void* const)
native final function bool GetMissionLevelData(int a_SeasonDate, out MissionLevelUIData o_data);

// Export UUIScript::execGetBRWorldExchange(FFrame&, void* const)
native final function bool GetBRWorldExchange();

// Export UUIScript::execGetServerPrivateStoreSearchItemSubType(FFrame&, void* const)
native final function int GetServerPrivateStoreSearchItemSubType(int a_ItemClassID);

// Export UUIScript::execConvertFloatToString(FFrame&, void* const)
native final function string ConvertFloatToString(float a_Value, int a_DecimalPlace, bool a_Round);

// Export UUIScript::execGetSiegePointAlarms(FFrame&, void* const)
native final function bool GetSiegePointAlarms(out array<int> PreAlarms, out array<int> Alarms);

// Export UUIScript::execGetPrisonData(FFrame&, void* const)
native function bool GetPrisonData(int a_PrisonType, out PrisonUIData o_data);

// Export UUIScript::execGetPrisonDataList(FFrame&, void* const)
native function GetPrisonDataList(out array<PrisonUIData> o_DataArray);

// Export UUIScript::execGetRecoveryCouponData(FFrame&, void* const)
native function GetRecoveryCouponData(int ItemClassID, out RecoveryCouponData Categories);

// Export UUIScript::execOpenWebSite(FFrame&, void* const)
native final function OpenWebSite(string openUrl);

// Export UUIScript::execJapanPolicyCheck(FFrame&, void* const)
native final function string JapanPolicyCheck();

// Export UUIScript::execSetUniqueGachaVideo(FFrame&, void* const)
native final function SetUniqueGachaVideo(bool SetOn);

// Export UUIScript::execGetUniqueGachaVideo(FFrame&, void* const)
native final function bool GetUniqueGachaVideo();

// Export UUIScript::execGetUniqueGachaShowItem(FFrame&, void* const)
native function GetUniqueGachaShowItem(out array<UniqueGachaItemInfo> ShowItemInfo);

// Export UUIScript::execGetUniqueGachaRewardItem(FFrame&, void* const)
native function GetUniqueGachaRewardItem(out array<UniqueGachaItemInfo> RewardItemInfo);

// Export UUIScript::execGetUniqueGachaGameTypeInfo(FFrame&, void* const)
native function GetUniqueGachaGameTypeInfo(out array<UniquegachaGameTypeInfo> GameTypeInfo);

// Export UUIScript::execGetUniqueGachaCostInfo(FFrame&, void* const)
native function GetUniqueGachaCostInfo(out int CostType, out int CostItemType);

// Export UUIScript::execIsPrivateStoreBypass(FFrame&, void* const)
native final function bool IsPrivateStoreBypass();

// Export UUIScript::execGetItemExchangeMultisellData(FFrame&, void* const)
native final function GetItemExchangeMultisellData(int a_ItemClassID, out array<ItemExchangeMultisellUIData> o_arrData);

// Export UUIScript::execGetPledgeCrestPresetData(FFrame&, void* const)
native final function GetPledgeCrestPresetData(out array<PledgeCrestPresetUIData> o_arrData);

// Export UUIScript::execRequestClanRegisterCrestPreset(FFrame&, void* const)
native final function RequestClanRegisterCrestPreset(int presetID);

// Export UUIScript::execRequestClanUnregisterCrestByPledgeID(FFrame&, void* const)
native final function RequestClanUnregisterCrestByPledgeID(int PledgeID);

// Export UUIScript::execGetClientCursorPos(FFrame&, void* const)
native function GetClientCursorPos(out int X, out int Y);

// Export UUIScript::execGetNQuestData(FFrame&, void* const)
native final function bool GetNQuestData(int a_QuestID, out NQuestUIData o_data);

// Export UUIScript::execGetNQuestDialogData(FFrame&, void* const)
native final function bool GetNQuestDialogData(int a_QuestID, out NQuestDialogUIData o_data);

// Export UUIScript::execGetNQuestNpcPortraitData(FFrame&, void* const)
native final function bool GetNQuestNpcPortraitData(int a_NpcID, out NQuestNpcPortraitUIData o_data);

// Export UUIScript::execGetEnchantExpItemListFromInven(FFrame&, void* const)
native final function int GetEnchantExpItemListFromInven(int a_grade, out array<ChargeExpItem> o_Items);

// Export UUIScript::execGetSkillSubLevelList(FFrame&, void* const)
native final function int GetSkillSubLevelList(int a_SkillID, int a_SkillLevel, out array<int> o_SubLevelList);

// Export UUIScript::execGetSkillAcquireList(FFrame&, void* const)
native final function int GetSkillAcquireList(int a_ClassID, int a_SkillID, out array<SkillAcquireData> o_Datas, out array<int> o_BlockSkills);

// Export UUIScript::execGetAttendanceData(FFrame&, void* const)
native final function GetAttendanceData(out int o_FollowItemID, out string o_Period, out array<int> o_FollowCosts);

// Export UUIScript::execGetPledgeEnemyDeletePenaltyData(FFrame&, void* const)
native final function PledgeEnemyDeletePenaltyUIData GetPledgeEnemyDeletePenaltyData();

// Export UUIScript::execGetRankingInzoneDataAll(FFrame&, void* const)
native final function GetRankingInzoneDataAll(out array<RankingInzoneUIData> o_ArrRankingInzoneData);
