Ejemplo n.º 1
0
 public AllianceJoinedMessage InitAllianceJoinedMessage(AllianceInformations AllianceInfo, bool Enabled, int LeadingGuildId)
 {
     this.AllianceInfo   = AllianceInfo;
     this.Enabled        = Enabled;
     this.LeadingGuildId = LeadingGuildId;
     return(this);
 }
Ejemplo n.º 2
0
        public override void Deserialize(ICustomDataReader reader)
        {
            int AlliancesLen = reader.ReadShort();

            Alliances = new AllianceInformations[AlliancesLen];
            for (int i = 0; i < AlliancesLen; i++)
            {
                this.Alliances[i] = new AllianceInformations();
                this.Alliances[i].Deserialize(reader);
            }
            int AllianceNbMembersLen = reader.ReadShort();

            AllianceNbMembers = new short[AllianceNbMembersLen];
            for (int i = 0; i < AllianceNbMembersLen; i++)
            {
                this.AllianceNbMembers[i] = reader.ReadVarShort();
            }
            int AllianceRoundWeigthLen = reader.ReadShort();

            AllianceRoundWeigth = new int[AllianceRoundWeigthLen];
            for (int i = 0; i < AllianceRoundWeigthLen; i++)
            {
                this.AllianceRoundWeigth[i] = reader.ReadVarInt();
            }
            int AllianceMatchScoreLen = reader.ReadShort();

            AllianceMatchScore = new byte[AllianceMatchScoreLen];
            for (int i = 0; i < AllianceMatchScoreLen; i++)
            {
                this.AllianceMatchScore[i] = reader.ReadByte();
            }
            int AllianceMapWinnersLen = reader.ReadShort();

            AllianceMapWinners = new BasicAllianceInformations[AllianceMapWinnersLen];
            for (int i = 0; i < AllianceMapWinnersLen; i++)
            {
                this.AllianceMapWinners[i] = new BasicAllianceInformations();
                this.AllianceMapWinners[i].Deserialize(reader);
            }
            this.AllianceMapWinnerScore     = reader.ReadVarInt();
            this.AllianceMapMyAllianceScore = reader.ReadVarInt();
            this.NextTickTime = reader.ReadDouble();
        }
 public override void Deserialize(ICustomDataReader reader)
 {
     base.Deserialize(reader);
     this.AllianceIdentity = new AllianceInformations();
     this.AllianceIdentity.Deserialize(reader);
 }
 public TaxCollectorStaticExtendedInformations InitTaxCollectorStaticExtendedInformations(AllianceInformations AllianceIdentity)
 {
     this.AllianceIdentity = AllianceIdentity;
     return(this);
 }
Ejemplo n.º 5
0
 public AlliancePrismInformation InitAlliancePrismInformation(AllianceInformations Alliance)
 {
     this.Alliance = Alliance;
     return(this);
 }
Ejemplo n.º 6
0
 public HumanOptionAlliance InitHumanOptionAlliance(AllianceInformations AllianceInformations, byte Aggressable)
 {
     this.AllianceInformations = AllianceInformations;
     this.Aggressable          = Aggressable;
     return(this);
 }