public void send_udp_test(string content) { UdpTest req = new UdpTest(); req.content = content; network.Instance.udp_send_protobuf_cmd((int)Stype.Logic, (int)Cmd.eUdpTest, req); }
public void SendUdpTest(string content) { UdpTest req = new UdpTest(); req.content = content; network.Instance.UdpSendProtobufCmd((int)Stype.Logic, (int)Cmd .eUdpTest, req); }
void handle_udp_test(cmd_msg msg) { UdpTest res = proto_man.protobuf_deserialize <UdpTest>(msg.body); if (res == null) { return; } Debug.Log("server return " + res.content); }
private void OnUdpTest(cmd_msg msg) { UdpTest res = proto_man .protobuf_deserialize <UdpTest>(msg.body); if (res == null) { return; } Debug.Log("Server Udp Return " + res.content); }
private void on_udp_test(cmd_msg msg) { UdpTest res = proto_man.protobuf_deserialize <UdpTest>(msg.body); if (null == res) { return; } Debug.LogError("udp_test " + res.content); }
public void TestUdp(int content) { var req = new UdpTest { content = content, }; NetworkMgr.Instance.UdpSendProtobufCmd( (int)ServiceType.Logic, (int)LogicCmd.eUdpTest, req); }