示例#1
0
        static void _RakNetClient()
        {
            client = new RakNetClient(serverIP, serverPort, ProcessMessage);
            client.Start();
            nodePlugin = new FT_Node_Plugin();
            FT_Node_Process_Debug pluginDebug = new FT_Node_Process_Debug();

            nodePlugin.SetResultHandler(pluginDebug);
            processTest1 = new FT_Node_Process_Test1();
            nodePlugin.RegisterProcess(processTest1);
            client.AttachInterface2(nodePlugin);
        }
示例#2
0
 public RakNetClientResultHandler(RakNetClient client)
 {
     _client = client;
 }