Пример #1
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.petFactionId = param1.ReadShort();
     param1.ReadShort();
     this.isInIdleMode = param1.ReadBoolean();
     this.petId        = param1.ReadInt();
     this.petId        = param1.Shift(this.petId, 16);
     this.petName      = param1.ReadUTF();
     this.clanTag      = param1.ReadUTF();
     this.petClanID    = param1.ReadInt();
     this.petClanID    = param1.Shift(this.petClanID, 27);
     this.petSpeed     = param1.ReadInt();
     this.petSpeed     = param1.Shift(this.petSpeed, 20);
     this.var_4452     = lookup.Lookup(param1) as MinimapColor;
     this.var_4452.Read(param1, lookup);
     this.x = param1.ReadInt();
     this.x = param1.Shift(this.x, 22);
     this.y = param1.ReadInt();
     this.y = param1.Shift(this.y, 23);
     this.clanRelationship = lookup.Lookup(param1) as ClanRelationModule;
     this.clanRelationship.Read(param1, lookup);
     this.petDesignId    = param1.ReadShort();
     this.petLevel       = param1.ReadShort();
     this.ownerId        = param1.ReadInt();
     this.ownerId        = param1.Shift(this.ownerId, 30);
     this.isVisible      = param1.ReadBoolean();
     this.expansionStage = param1.ReadShort();
 }
Пример #2
0
 public PetActivationCommand(int param1 = 0, int param2 = 0, short param3 = 0, short param4 = 0, string param5 = "", short param6 = 0, int param7 = 0, short param8 = 0, string param9 = "", ClanRelationModule param10 = null, int param11 = 0, int param12 = 0, int param13 = 0, bool param14 = false, bool param15 = false, MinimapColor param16 = null)
 {
     this.ownerId        = param1;
     this.petId          = param2;
     this.petDesignId    = param3;
     this.expansionStage = param4;
     this.petName        = param5;
     this.petFactionId   = param6;
     this.petClanID      = param7;
     this.petLevel       = param8;
     this.clanTag        = param9;
     if (param10 == null)
     {
         this.clanRelationship = new ClanRelationModule();
     }
     else
     {
         this.clanRelationship = param10;
     }
     this.x            = param11;
     this.y            = param12;
     this.petSpeed     = param13;
     this.isInIdleMode = param14;
     this.isVisible    = param15;
     if (param16 == null)
     {
         this.var_4452 = new MinimapColor();
     }
     else
     {
         this.var_4452 = param16;
     }
 }
Пример #3
0
 public override void Read(IDataInput param1, ICommandLookup lookup)
 {
     base.Read(param1, lookup);
     this.name_103 = lookup.Lookup(param1) as ClanRelationModule;
     this.name_103.Read(param1, lookup);
     param1.ReadShort();
 }
Пример #4
0
 public void Read(IDataInput param1, ICommandLookup lookup) {
     param1.ReadShort();
     this.userId = param1.ReadInt();
     this.userId = param1.Shift(this.userId, 10);
     this.var_672 = lookup.Lookup(param1) as ClanRelationModule;
     this.var_672.Read(param1, lookup);
     this.name_46 = param1.ReadInt();
     this.name_46 = param1.Shift(this.name_46, 20);
 }
Пример #5
0
 public class_927(ClanRelationModule param1 = null, int param2 = 0, int param3 = 0) {
     if (param1 == null) {
         this.var_672 = new ClanRelationModule();
     } else {
         this.var_672 = param1;
     }
     this.userId = param2;
     this.name_46 = param3;
 }
Пример #6
0
 public class_544(ClanRelationModule param1 = null)
 {
     if (param1 == null)
     {
         this.name_103 = new ClanRelationModule();
     }
     else
     {
         this.name_103 = param1;
     }
 }
Пример #7
0
 public ShipCreateCommand(int param1 = 0, string param2 = "", int param3 = 0, string param4 = "", string param5 = "", int param6 = 0, int param7 = 0, int param8 = 0, int param9 = 0, int param10 = 0, bool param11 = false, ClanRelationModule param12 = null, int param13 = 0, bool param14 = false, bool param15 = false, bool param16 = false, int param17 = 0, int param18 = 0, string param19 = "", List <VisualModifierCommand> param20 = null, MinimapColor param21 = null)
 {
     this.userId         = param1;
     this.typeId         = param2;
     this.expansionStage = param3;
     this.clanTag        = param4;
     this.userName       = param5;
     this.x         = param6;
     this.y         = param7;
     this.factionId = param8;
     this.clanId    = param9;
     this.dailyRank = param10;
     this.warnBox   = param11;
     if (param12 == null)
     {
         this.clanDiplomacy = new ClanRelationModule();
     }
     else
     {
         this.clanDiplomacy = param12;
     }
     this.galaxyGatesDone = param13;
     this.useSystemFont   = param14;
     this.npc             = param15;
     this.cloaked         = param16;
     this.motherShipId    = param17;
     this.positionIndex   = param18;
     this.var_4950        = param19;
     if (param20 == null)
     {
         this.modifier = new List <VisualModifierCommand>();
     }
     else
     {
         this.modifier = param20;
     }
     if (param21 == null)
     {
         this.minimapColor = new MinimapColor();
     }
     else
     {
         this.minimapColor = param21;
     }
 }
Пример #8
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.clanTag   = param1.ReadUTF();
     this.factionId = param1.ReadInt();
     this.factionId = param1.Shift(this.factionId, 17);
     this.x         = param1.ReadInt();
     this.x         = param1.Shift(this.x, 15);
     param1.ReadShort();
     this.modifier.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as VisualModifierCommand;
         tmp_0.Read(param1, lookup);
         this.modifier.Add(tmp_0);
     }
     this.dailyRank      = param1.ReadInt();
     this.dailyRank      = param1.Shift(this.dailyRank, 22);
     this.y              = param1.ReadInt();
     this.y              = param1.Shift(this.y, 4);
     this.clanId         = param1.ReadInt();
     this.clanId         = param1.Shift(this.clanId, 20);
     this.userId         = param1.ReadInt();
     this.userId         = param1.Shift(this.userId, 2);
     this.npc            = param1.ReadBoolean();
     this.typeId         = param1.ReadUTF();
     this.cloaked        = param1.ReadBoolean();
     this.warnBox        = param1.ReadBoolean();
     this.expansionStage = param1.ReadInt();
     this.expansionStage = param1.Shift(this.expansionStage, 8);
     this.motherShipId   = param1.ReadInt();
     this.motherShipId   = param1.Shift(this.motherShipId, 23);
     this.minimapColor   = lookup.Lookup(param1) as MinimapColor;
     this.minimapColor.Read(param1, lookup);
     this.clanDiplomacy = lookup.Lookup(param1) as ClanRelationModule;
     this.clanDiplomacy.Read(param1, lookup);
     this.userName        = param1.ReadUTF();
     this.var_4950        = param1.ReadUTF();
     this.useSystemFont   = param1.ReadBoolean();
     this.galaxyGatesDone = param1.ReadInt();
     this.galaxyGatesDone = param1.Shift(this.galaxyGatesDone, 4);
     this.positionIndex   = param1.ReadInt();
     this.positionIndex   = param1.Shift(this.positionIndex, 30);
 }
Пример #9
0
 public AssetCreateCommand(AssetTypeModule param1 = null, string param2 = "", int param3 = 0, string param4 = "", int param5 = 0, int param6 = 0, int param7 = 0, int param8 = 0, int param9 = 0, int param10 = 0, bool param11 = false, bool param12 = false, bool param13 = false, bool param14 = false, ClanRelationModule param15 = null, List <VisualModifierCommand> param16 = null)
 {
     if (param1 == null)
     {
         this.type = new AssetTypeModule();
     }
     else
     {
         this.type = param1;
     }
     this.userName            = param2;
     this.factionId           = param3;
     this.clanTag             = param4;
     this.assetId             = param5;
     this.designId            = param6;
     this.expansionStage      = param7;
     this.posX                = param8;
     this.posY                = param9;
     this.clanId              = param10;
     this.invisible           = param11;
     this.visibleOnWarnRadar  = param12;
     this.detectedByWarnRadar = param13;
     this.showBubble          = param14;
     if (param15 == null)
     {
         this.clanRelation = new ClanRelationModule();
     }
     else
     {
         this.clanRelation = param15;
     }
     if (param16 == null)
     {
         this.modifier = new List <VisualModifierCommand>();
     }
     else
     {
         this.modifier = param16;
     }
 }
Пример #10
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.expansionStage = param1.ReadInt();
     this.expansionStage = param1.Shift(this.expansionStage, 18);
     this.clanTag        = param1.ReadUTF();
     param1.ReadShort();
     this.type = lookup.Lookup(param1) as AssetTypeModule;
     this.type.Read(param1, lookup);
     this.factionId    = param1.ReadInt();
     this.factionId    = param1.Shift(this.factionId, 14);
     this.posY         = param1.ReadInt();
     this.posY         = param1.Shift(this.posY, 17);
     this.clanRelation = lookup.Lookup(param1) as ClanRelationModule;
     this.clanRelation.Read(param1, lookup);
     this.detectedByWarnRadar = param1.ReadBoolean();
     this.modifier.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as VisualModifierCommand;
         tmp_0.Read(param1, lookup);
         this.modifier.Add(tmp_0);
     }
     this.assetId   = param1.ReadInt();
     this.assetId   = param1.Shift(this.assetId, 11);
     this.invisible = param1.ReadBoolean();
     param1.ReadShort();
     this.showBubble         = param1.ReadBoolean();
     this.clanId             = param1.ReadInt();
     this.clanId             = param1.Shift(this.clanId, 26);
     this.userName           = param1.ReadUTF();
     this.designId           = param1.ReadInt();
     this.designId           = param1.Shift(this.designId, 18);
     this.posX               = param1.ReadInt();
     this.posX               = param1.Shift(this.posX, 9);
     this.visibleOnWarnRadar = param1.ReadBoolean();
 }