private void HandleSetFameMessageCmd(CommandParser.Command param) { string param2 = param.GetParam(1); MC2S_SetFameMessage mC2S_SetFameMessage = new MC2S_SetFameMessage(); mC2S_SetFameMessage.Message = param2; Globals.Instance.CliSession.Send(302, mC2S_SetFameMessage); }
private void OnSubmitMsg() { if (!string.IsNullOrEmpty(this.mUIInputMsg.value)) { MC2S_SetFameMessage mC2S_SetFameMessage = new MC2S_SetFameMessage(); mC2S_SetFameMessage.Message = this.mUIInputMsg.value; GameUIManager.mInstance.uiState.mShowMsg = this.mUIInputMsg.value; Globals.Instance.CliSession.Send(302, mC2S_SetFameMessage); } this.mUIInputMsg.value = string.Empty; this.CloseAll(); }