示例#1
0
 public HotALobbyUpdatePacket(HotAPacketType type, uint creatorPlayerId, uint lobbyId, uint targetPlayerId, LobbyUpdateType updateType, uint gameLobbyId, LobbyUpdateRanked isRanked) : base(type, creatorPlayerId, lobbyId)
 {
     this.TargetPlayerId = targetPlayerId;
     this.UpdateType     = updateType;
     this.GameLobbyId    = gameLobbyId;
     this.IsRanked       = isRanked;
 }
示例#2
0
 public HotAPlayerDataPacket(HotAPacketType type, ushort unknown1, HotAPlayerStatus status, uint playerId, uint rating, ushort positiveReputation, ushort negativeReputation, string name, uint unknown2) : base(type)
 {
     this.Unknown1           = unknown1;
     this.Status             = status;
     this.PlayerId           = playerId;
     this.Rating             = rating;
     this.PositiveReputation = positiveReputation;
     this.NegativeReputation = negativeReputation;
     this.Name     = name;
     this.Unknown2 = unknown2;
 }
示例#3
0
 public HotALobbyLeavePacket(HotAPacketType type, uint creatorPlayerId, uint lobbyId) : base(type, creatorPlayerId, lobbyId)
 {
 }
示例#4
0
 public HotASelfPlayerDataPacket(HotAPacketType type, ushort unknown1, HotAPlayerStatus status, uint playerId, uint rating, ushort positiveReputation, ushort negativeReputation, string name, uint unknown2) : base(type, unknown1, status, playerId, rating, positiveReputation, negativeReputation, name, unknown2)
 {
 }
示例#5
0
 public HotAPlayerLeaveGamePacket(HotAPacketType type, uint playerId) : base(type, playerId)
 {
 }
 public HotAPlayerStatusUpdatePacket(HotAPacketType type, uint playerId, byte newStatus) : base(type, playerId)
 {
     this.NewStatus = (HotAPlayerStatus)newStatus;
 }
 public HotAPlayerReputationPacket(HotAPacketType type, uint playerId, ushort positiveReputation, ushort negativeReputation) : base(type, playerId)
 {
     this.PositiveReputation = positiveReputation;
     this.NegativeReputation = negativeReputation;
 }
 public HotAInitializationFinishedPacket(HotAPacketType type, uint wasSuccessful) : base(type)
 {
     this.WasSuccessful = wasSuccessful;
 }
示例#9
0
 public HotAPacket(HotAPacketType type)
 {
     this.Type = type;
 }
示例#10
0
        protected internal virtual void ReadData(BinaryReader br)
        {
            ushort len = br.ReadUInt16();

            this.Type = (HotAPacketType)br.ReadUInt16();
        }
示例#11
0
 public HotAPlayerIdPacket(HotAPacketType type, uint playerId) : base(type)
 {
     this.PlayerId = playerId;
 }
示例#12
0
 public HotAPlayerRatingPacket(HotAPacketType type, uint playerId, uint rating) : base(type, playerId)
 {
     this.Rating = rating;
 }
示例#13
0
 public HotAUnknownPacket(HotAPacketType type, byte[] bytes) : base(type)
 {
     this.Bytes = bytes;
 }
示例#14
0
 public HotALobbyIdPacket(HotAPacketType type, uint creatorPlayerId, uint lobbyId) : base(type, creatorPlayerId)
 {
     this.LobbyId = lobbyId;
 }
 public HotAPlayerLostConnectionPacket(HotAPacketType type, uint playerId) : base(type, playerId)
 {
 }