//发送消息 public void Send_1_10(string _str) { MessageData_1_10 body = new MessageData_1_10(); body.talkStr = _str; SendMsg(1, 10, body); }
public void Deal_1_10(MessageData <BaseMessageData> data) { MessageData_1_10 messageData = data.body as MessageData_1_10; string str = messageData.talkStr; Debug.Log(messageData._ip + "说" + str); }