コード例 #1
0
 protected override void onConnect(JcCtUnity1.NwRst1 rst1, System.Exception ex = null)
 {
     qv("Dbg on connect: " + rst1);
     //int pkt = 1111;
     //using (JcCtUnity1.PkWriter1Nm pkw = new JcCtUnity1.PkWriter1Nm(pkt))
     //{
     //	pkw.wInt32u(2222);
     //	this.send(pkw);
     //}
     //qv("Dbg send packet Type:" + pkt);
 }
コード例 #2
0
            protected override void onConnect(JcCtUnity1.NwRst1 rst1, Exception ex = null)
            {
                qv("Dbg on connect: " + rst1);
                int pkt = 1111;

                using (JcCtUnity1.PkWriter1Nm pkw = new JcCtUnity1.PkWriter1Nm(pkt))
                {
                    pkw.wInt32u((UInt32)2222);
                    this.send(pkw);
                }
                qv("Dbg send packet Type:" + pkt);
            }