public void Change_HeadKuang()//更换头像框 { var p = PacketObject.Create <CsRoleHeadChange>(); p.head = SelectBoxID; session.Send(p); }
public void SendResetNpcExp() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "clean_npc_list"; session.Send(gm); }
public void RestWelfareIndo(string wId) { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = string.Format("clean_act_data{0}", wId); session.Send(gm); }
public void SendRestUnionReward() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "union_reward_time"; session.Send(gm); }
public void SendSpecifiedActiveCoop(string str) { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = string.Format("coop_specified{0}", str); session.Send(gm); }
public void SendEndNpcEngagement() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "end_npc_engagement"; session.Send(gm); }
public void SendRestSignTime() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "union_sign_time"; session.Send(gm); }
public void SendGift(int itemTypeId) { var p = PacketObject.Create <CsNpcEngagementGift>(); p.itemTypeId = itemTypeId; session.Send(p); }
public void SendFightWin() { CsNmlSceneFightWin p = PacketObject.Create <CsNmlSceneFightWin>(); p.overData = modulePVE.GetPveDatas(); session.Send(p); }
private void GetAllBulletin() { //向服务器请求所有的公告 CsSystemBulletin p = PacketObject.Create <CsSystemBulletin>(); session.Send(p); }
public void UnLockFetter(ushort _npcId) { CsNpcUnlockFetter p = PacketObject.Create <CsNpcUnlockFetter>(); p.npcId = _npcId; session.Send(p); }
public void GetReward(string code) { CsSystemCodeReward p = PacketObject.Create <CsSystemCodeReward>(); p.code = code; session.Send(p); }
public void Change_Name(string name)//更换名字 { var p = PacketObject.Create <CsRoleNameUpdate>(); p.newName = name; session.Send(p); }
public void Change_Introud(string introus_str)//更换个人介绍 { var p = PacketObject.Create <CsRoleIntroUpdate>(); p.newIntro = introus_str; session.Send(p); }
public void SendFullAnger() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "full_anger"; session.Send(gm); }
public void RoleStartEnterGame(int rIndex, bool isFirstEnter = false) { Game.WillEnterGame(); rIndex = Mathf.Clamp(rIndex, 0, roleList.Length - 1); var p = PacketObject.Create <CsEnterGame>(); p.roleId = roleList[rIndex].roleId; p.gameVersion = Launch.Updater.currentVersion; p.sourceHash = AssetBundles.AssetManager.dataHash; p.machineNumber = SystemInfo.deviceUniqueIdentifier; p.producer = SystemInfo.deviceModel; session.Send(p); PlayerPrefs.SetString(lastEnterRoleSaveKey, p.roleId.ToString()); PlayerPrefs.Save(); if (!isFirstEnter) { Game.GoHome(); } DispatchEvent(SDKEvent.GLOBAL, SDKEvent.PopSdk(SDKEvent.SELECT_ROLE, roleList[rIndex].roleId)); }
public void SendResetDatingState() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "reset_npc_engagement"; session.Send(gm); }
public void CancleFriendInvate() { //取消好友邀请 CsInviteCancel p = PacketObject.Create <CsInviteCancel>(); session.Send(p); }
public void SendUnLockAllNpcDating() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "unlock_all_npc_engagement"; session.Send(gm); }
public void SendCleanToday() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "clean_daily"; session.Send(gm); }
public void SendRestUnionCard(string str) { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = string.Format("union_card{0}", str); session.Send(gm); }
public void SendRefreshAllShop() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "shop_refresh"; session.Send(gm); }
public void SendRestActiveCoop() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "coop_refresh"; session.Send(gm); }
public void SendLolMail() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "rank_settlement"; session.Send(gm); }
public void SendResetNpcStage() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "reset_npc_stage"; session.Send(gm); }
public void SendActivePveTimes() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "reset_active_pve_times"; session.Send(gm); }
public void SendGMCmdStr(string cmdStr) { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = cmdStr; session.Send(gm); }
public void SendSpriteTrain() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "reset_sprite"; session.Send(gm); }
public void SendCleanBag() { CsSystemGm gm = PacketObject.Create <CsSystemGm>(); gm.gmStr = "clean_bag"; session.Send(gm); }
public void SendPVEAwake() { CsAwakeUse p = PacketObject.Create <CsAwakeUse>(); p.use = true; session.Send(p); }