//private bool HandleGetUserItemFinish(NetCmdBase obj) //{ // LC_Cmd_GetUserItemFinish ncb = (LC_Cmd_GetUserItemFinish)obj; // m_IsLoadItem = true; // //触发函数 用于 对外输出 玩家背包改变的函数 // tagItemChangeEvent Event = new tagItemChangeEvent(); // MsgEventHandle.HandleMsg(Event); // return true; //} private bool HandleAddUsetItem(NetCmdBase obj) { LC_Cmd_AddUserItem ncb = (LC_Cmd_AddUserItem)obj; OnAddItemMap(ncb.ItemInfo); tagItemChangeEvent Event = new tagItemChangeEvent(); // MsgEventHandle.HandleMsg(Event); return(true); }
private bool HandleChangeUserItem(NetCmdBase obj) { LC_Cmd_ChangeUserItem ncb = (LC_Cmd_ChangeUserItem)obj; ChangeItem(ncb.ItemOnlyID, ncb.ItemSum); tagItemChangeEvent Event = new tagItemChangeEvent(); //MsgEventHandle.HandleMsg(Event); return(true); }
public void ResetInfo() { OnClear(); tagItemChangeEvent Event = new tagItemChangeEvent(); //MsgEventHandle.HandleMsg(Event); }