public void Move(DogSE.Common.Vector3 postion, DogSE.Common.Vector3 direction) { var pw = new PacketWriter(1100); pw.WriteStruct(postion); pw.WriteStruct(direction); NetState.Send(pw); }
public void EnterSceneInfo(NetState netstate, DogSE.Common.Vector3 postion, DogSE.Common.Vector3 direction) { var pw = new PacketWriter(1101); PacketProfile packetProfile = PacketProfile.GetOutgoingProfile(1101); if (packetProfile != null) { packetProfile.RegConstruct(); } pw.WriteStruct(postion); pw.WriteStruct(direction); netstate.Send(pw); pw.Dispose(); }
public void SpriteMove(NetState netstate, int playerId, DogSE.Common.Vector3 postion, DogSE.Common.Vector3 direction) { var pw = new PacketWriter(1103); PacketProfile packetProfile = PacketProfile.GetOutgoingProfile(1103); if (packetProfile != null) { packetProfile.RegConstruct(); } pw.Write(playerId); pw.WriteStruct(postion); pw.WriteStruct(direction); netstate.Send(pw); pw.Dispose(); }
internal abstract void OnSpriteMove(int playerId, DogSE.Common.Vector3 postion, DogSE.Common.Vector3 direction);
internal abstract void OnEnterSceneInfo(DogSE.Common.Vector3 postion, DogSE.Common.Vector3 direction);