public void RequireDelRole(string strRoleName) { NFMsg.ReqDeleteRole xData = new NFMsg.ReqDeleteRole(); xData.name = ByteString.CopyFromUtf8(strRoleName); xData.account = ByteString.CopyFromUtf8(mAccount); xData.game_id = mServerID; mxBody.SetLength(0); xData.WriteTo(mxBody); mNetModule.SendMsg(NFMsg.EGameMsgID.EGMI_REQ_DELETE_ROLE, mxBody); }
public void RequireDelRole(string strRoleName) { NFMsg.ReqDeleteRole xData = new NFMsg.ReqDeleteRole(); xData.Name = ByteString.CopyFromUtf8(strRoleName); xData.Account = ByteString.CopyFromUtf8(mAccount); xData.GameId = mServerID; mxBody.SetLength(0); xData.WriteTo(mxBody); mNetModule.SendMsg((int)NFMsg.EGameMsgID.ReqDeleteRole, mxBody); Debug.Log("RequireDelRole:" + strRoleName); }