Beispiel #1
0
 void OnSpriteMove(NetState netstate, PacketReader reader)
 {
     var p1 = reader.ReadInt32();
     var p2 = reader.ReadStruct <DogSE.Common.Vector3>();
     var p3 = reader.ReadStruct <DogSE.Common.Vector3>();
     module.OnSpriteMove(p1,p2,p3);
 }
Beispiel #2
0
 void OnSpriteEnter(NetState netstate, PacketReader reader)
 {
     var obj = SimplePlayerReadProxy.Read(reader);
     module.OnSpriteEnter(obj);
 }
Beispiel #3
0
 void OnSpriteLeave(NetState netstate, PacketReader reader)
 {
     var p1 = reader.ReadInt32();
     module.OnSpriteLeave(p1);
 }
Beispiel #4
0
 void OnLoginServerResult(NetState netstate, PacketReader reader)
 {
     var p1 = (TradeAge.Client.Entity.Login.LoginServerResult)reader.ReadByte();
     var p2 = reader.ReadBoolean();
     module.OnLoginServerResult(p1,p2);
 }
Beispiel #5
0
 void OnEnterSceneInfo(NetState netstate, PacketReader reader)
 {
     var p1 = reader.ReadStruct <DogSE.Common.Vector3>();
     var p2 = reader.ReadStruct <DogSE.Common.Vector3>();
     module.OnEnterSceneInfo(p1,p2);
 }
Beispiel #6
0
 void OnSpriteLeave(NetState netstate, PacketReader reader)
 {
     var len1 = reader.ReadInt32();
     var p1 = new System.Int32[len1];for(int i =0;i< len1;i++){
     p1[i] = reader.ReadInt32();
     }
     module.OnSpriteLeave(p1);
 }
Beispiel #7
0
 void OnCreatePlayerResult(NetState netstate, PacketReader reader)
 {
     var p1 = (TradeAge.Client.Entity.Login.CraetePlayerResult)reader.ReadByte();
     module.OnCreatePlayerResult(p1);
 }
Beispiel #8
0
 void OnEnterSceneInfo(NetState netstate, PacketReader reader)
 {
     var p1 = SimplePlayerReadProxy.Read(reader);
     module.OnEnterSceneInfo(p1);
 }
Beispiel #9
0
 void OnSpriteEnter(NetState netstate, PacketReader reader)
 {
     var len1 = reader.ReadInt32();
     var p1 = new TradeAge.Client.Entity.Character.SceneSprite[len1];for(int i =0;i< len1;i++){
     p1[i] = SceneSpriteReadProxy.Read(reader);
     }
     module.OnSpriteEnter(p1);
 }
Beispiel #10
0
 void OnSpriteMove(NetState netstate, PacketReader reader)
 {
     var p1 = reader.ReadInt32();
     var p2 = new DateTime(reader.ReadLong64());
      var p3 = Vector2ReadProxy.Read(reader);
      var p4 = Vector2ReadProxy.Read(reader);
     module.OnSpriteMove(p1,p2,p3,p4);
 }
Beispiel #11
0
 void OnSpriteMove(NetState netstate, PacketReader reader)
 {
     var p1 = reader.ReadInt32();
     var p2 = new DateTime(reader.ReadLong64());
      var p3 = Vector3ReadProxy.Read(reader);
      var p4 = QuaternionReadProxy.Read(reader);
     var p5 = reader.ReadFloat();
     var p6 = reader.ReadFloat();
     var p7 = (TradeAge.Client.Entity.Ship.SpeedUpTypes)reader.ReadByte();
     module.OnSpriteMove(p1,p2,p3,p4,p5,p6,p7);
 }
Beispiel #12
0
 void OnEnterSceneInfo(NetState netstate, PacketReader reader)
 {
     var p1 = Vector3ReadProxy.Read(reader);
      var p2 = Vector3ReadProxy.Read(reader);
     module.OnEnterSceneInfo(p1,p2);
 }
Beispiel #13
0
 void OnSpriteMove(NetState netstate, PacketReader reader)
 {
     var p1 = reader.ReadInt32();
      var p2 = Vector3ReadProxy.Read(reader);
      var p3 = Vector3ReadProxy.Read(reader);
     module.OnSpriteMove(p1,p2,p3);
 }
Beispiel #14
0
 void OnSyncInitDataFinish(NetState netstate, PacketReader reader)
 {
     module.OnSyncInitDataFinish();
 }
Beispiel #15
0
 /// <summary>
 /// ��ӿͻ��˵�����
 /// </summary>
 internal void InternalAddNetState( long netStateId, NetState netState )
 {
     m_NetStates.GetOrAdd( netStateId, netState );
 }
Beispiel #16
0
 void OnSyncServerTime(NetState netstate, PacketReader reader)
 {
     var p1 = new DateTime(reader.ReadLong64());
     var p2 = reader.ReadInt32();
     module.OnSyncServerTime(p1,p2);
 }