Ejemplo n.º 1
0
 public override void Deserialize(BigEndianReader reader)
 {
     AccountId = reader.ReadInt();
     PlayerId = reader.ReadInt();
     Status = Types.ProtocolTypeManager.GetInstance<PlayerStatus>(reader.ReadShort());
     Status.Deserialize(reader);
 }
 public GameFightCharacterInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, bool alive, GameFightMinimalStats stats, string name, PlayerStatus status, short level, ActorAlignmentInformations alignmentInfos, sbyte breed)
     : base(contextualId, look, disposition, teamId, alive, stats, name, status)
 {
     Level = level;
     AlignmentInfos = alignmentInfos;
     Breed = breed;
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     Name = reader.ReadUTF();
     Status = new PlayerStatus();
     Status.Deserialize(reader);
 }
Ejemplo n.º 4
0
 public PartyGuestInformations(int guestId, int hostId, string name, EntityLook guestLook, sbyte breed, bool sex, PlayerStatus status)
 {
     GuestId = guestId;
     HostId = hostId;
     Name = name;
     GuestLook = guestLook;
     Breed = breed;
     Sex = sex;
     Status = status;
 }
Ejemplo n.º 5
0
 public FriendOnlineInformations(int accountId, string accountName, sbyte playerState, int lastConnection, int achievementPoints, int playerId, string playerName, short level, sbyte alignmentSide, sbyte breed, bool sex, BasicGuildInformations guildInfo, sbyte moodSmileyId, PlayerStatus status)
     : base(accountId, accountName, playerState, lastConnection, achievementPoints)
 {
     PlayerId = playerId;
     PlayerName = playerName;
     Level = level;
     AlignmentSide = alignmentSide;
     Breed = breed;
     Sex = sex;
     GuildInfo = guildInfo;
     MoodSmileyId = moodSmileyId;
     Status = status;
 }
Ejemplo n.º 6
0
 public PartyMemberInformations(int id, byte level, string name, EntityLook entityLook, sbyte breed, bool sex, int lifePoints, int maxLifePoints, short prospecting, byte regenRate, short initiative, bool pvpEnabled, sbyte alignmentSide, short worldX, short worldY, int mapId, short subAreaId, PlayerStatus status)
     : base(id, level, name, entityLook, breed, sex)
 {
     LifePoints = lifePoints;
     MaxLifePoints = maxLifePoints;
     Prospecting = prospecting;
     RegenRate = regenRate;
     Initiative = initiative;
     PvpEnabled = pvpEnabled;
     AlignmentSide = alignmentSide;
     WorldX = worldX;
     WorldY = worldY;
     MapId = mapId;
     SubAreaId = subAreaId;
     Status = status;
 }
Ejemplo n.º 7
0
 public GuildMember(int id, byte level, string name, sbyte breed, bool sex, short rank, double givenExperience, sbyte experienceGivenPercent, uint rights, sbyte connected, sbyte alignmentSide, ushort hoursSinceLastConnection, sbyte moodSmileyId, int accountId, int achievementPoints, PlayerStatus status)
     : base(id, level, name)
 {
     Breed = breed;
     Sex = sex;
     Rank = rank;
     GivenExperience = givenExperience;
     ExperienceGivenPercent = experienceGivenPercent;
     Rights = rights;
     Connected = connected;
     AlignmentSide = alignmentSide;
     HoursSinceLastConnection = hoursSinceLastConnection;
     MoodSmileyId = moodSmileyId;
     AccountId = accountId;
     AchievementPoints = achievementPoints;
     Status = status;
 }
Ejemplo n.º 8
0
 public PlayerStatusUpdateMessage(int accountId, int playerId, PlayerStatus status)
 {
     AccountId = accountId;
     PlayerId = playerId;
     Status = status;
 }
 public GameFightFighterNamedInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, bool alive, GameFightMinimalStats stats, string name, PlayerStatus status)
     : base(contextualId, look, disposition, teamId, alive, stats)
 {
     Name = name;
     Status = status;
 }
Ejemplo n.º 10
0
 public PartyMemberArenaInformations(int id, byte level, string name, EntityLook entityLook, sbyte breed, bool sex, int lifePoints, int maxLifePoints, short prospecting, byte regenRate, short initiative, bool pvpEnabled, sbyte alignmentSide, short worldX, short worldY, int mapId, short subAreaId, PlayerStatus status, short rank)
     : base(id, level, name, entityLook, breed, sex, lifePoints, maxLifePoints, prospecting, regenRate, initiative, pvpEnabled, alignmentSide, worldX, worldY, mapId, subAreaId, status)
 {
     Rank = rank;
 }
 public PlayerStatusUpdateRequestMessage(PlayerStatus status)
 {
     Status = status;
 }
Ejemplo n.º 12
0
 public GameFightMutantInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, bool alive, GameFightMinimalStats stats, string name, PlayerStatus status, sbyte powerLevel)
     : base(contextualId, look, disposition, teamId, alive, stats, name, status)
 {
     PowerLevel = powerLevel;
 }