Exemple #1
0
        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);
        }
Exemple #2
0
        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);
        }