【XMRvip·R会员】

原创 【XMRvip·R会员】 1.0.0

获取玩家成长值:
C#:
   [HookMethod("GetPlayerGrowth")]
   public int API_GetPlayerGrowth(string userId)
获取玩家会员等级:
C#:
   [HookMethod("GetPlayerLevel")]
   public int API_GetPlayerLevel(string userId)
检查玩家是否是会员:
C#:
   [HookMethod("IsPlayerVip")]
   public bool API_IsPlayerVip(string userId)
设置玩家成长值:
C#:
   [HookMethod("SetPlayerGrowth")]
   public bool API_SetPlayerGrowth(string userId, int growth)
增加玩家成长值:
C#:
   [HookMethod("AddPlayerGrowth")]
   public bool API_AddPlayerGrowth(string userId, int amount)
成长值更新Hook:
C#:
   Interface.CallHook("OnGrowthUpdated", userId, oldGrowth, newGrowth);
等级更新Hook:
C#:
   Interface.CallHook("OnLevelUpdated", userId, oldLevel, newLevel);