Example #1
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.types.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as QuestTypeModule;
         tmp_0.Read(param1, lookup);
         this.types.Add(tmp_0);
     }
     this.var_3286 = param1.ReadUTF();
     param1.ReadShort();
     this.id      = param1.ReadInt();
     this.id      = param1.Shift(this.id, 13);
     this.name_16 = param1.ReadUTF();
     this.icons.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as QuestIconModule;
         tmp_0.Read(param1, lookup);
         this.icons.Add(tmp_0);
     }
     this.rewards.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as class_891;
         tmp_0.Read(param1, lookup);
         this.rewards.Add(tmp_0);
     }
     this.rootCase = lookup.Lookup(param1) as QuestCaseModule;
     this.rootCase.Read(param1, lookup);
 }
Example #2
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.wildcard = param1.ReadUTF();
     this.var_2363 = lookup.Lookup(param1) as ClientUITooltipTextFormatModule;
     this.var_2363.Read(param1, lookup);
     this.replacement = param1.ReadUTF();
 }
Example #3
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();
 }
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.rootCaseId          = param1.ReadInt();
     this.rootCaseId          = param1.Shift(this.rootCaseId, 4);
     this.var_3286            = param1.ReadUTF();
     this.acceptabilityStatus = lookup.Lookup(param1) as QuestAcceptabilityStatusModule;
     this.acceptabilityStatus.Read(param1, lookup);
     param1.ReadShort();
     this.name_16 = param1.ReadUTF();
     this.types.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as QuestTypeModule;
         tmp_0.Read(param1, lookup);
         this.types.Add(tmp_0);
     }
     this.missingAcceptRequirements.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as QuestRequirementModule;
         tmp_0.Read(param1, lookup);
         this.missingAcceptRequirements.Add(tmp_0);
     }
     this.priority = param1.ReadInt();
     this.priority = param1.Shift(this.priority, 30);
     this.icon     = lookup.Lookup(param1) as QuestIconModule;
     this.icon.Read(param1, lookup);
     this.questId  = param1.ReadInt();
     this.questId  = param1.Shift(this.questId, 18);
     this.minLevel = param1.ReadInt();
     this.minLevel = param1.Shift(this.minLevel, 4);
 }
Example #5
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     param1.ReadShort();
     this.value = param1.ReadUTF();
     this.key   = param1.ReadUTF();
     param1.ReadShort();
 }
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.var_2469 = param1.ReadUTF();
     param1.ReadShort();
     this.var_3315 = param1.ReadUTF();
     param1.ReadShort();
     this.var_2510 = param1.ReadUTF();
 }
Example #7
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.toIndex       = param1.ReadInt();
     this.toIndex       = param1.Shift(this.toIndex, 4);
     this.fromSlotbarId = param1.ReadUTF();
     param1.ReadShort();
     this.itemId      = param1.ReadUTF();
     this.fromIndex   = param1.ReadInt();
     this.fromIndex   = param1.Shift(this.fromIndex, 21);
     this.toSlotbarId = param1.ReadUTF();
 }
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.factionID = param1.ReadShort();
     param1.ReadShort();
     this.sessionID  = param1.ReadUTF();
     this.instanceId = param1.ReadInt();
     this.instanceId = param1.Shift(this.instanceId, 6);
     this.userID     = param1.ReadInt();
     this.userID     = param1.Shift(this.userID, 16);
     this.version    = param1.ReadUTF();
     param1.ReadShort();
 }
Example #9
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     param1.ReadShort();
     this.rating = param1.ReadInt();
     this.rating = param1.Shift(this.rating, 20);
     this.name   = param1.ReadUTF();
     param1.ReadShort();
     this.diffToFirst = param1.ReadInt();
     this.diffToFirst = param1.Shift(this.diffToFirst, 3);
     this.rank        = param1.ReadInt();
     this.rank        = param1.Shift(this.rank, 5);
     this.epppLink    = param1.ReadUTF();
 }
Example #10
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.priority = param1.ReadInt();
     this.priority = param1.Shift(this.priority, 10);
     this.message  = param1.ReadUTF();
     this.type     = param1.ReadShort();
     this.replacementObjectList.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = param1.ReadUTF();
         this.replacementObjectList.Add(tmp_0);
     }
 }
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.cbsNamesAndLocations = param1.ReadUTF();
     this.rank   = param1.ReadInt();
     this.rank   = param1.Shift(this.rank, 7);
     this.clanId = param1.ReadInt();
     this.clanId = param1.Shift(this.clanId, 13);
     param1.ReadShort();
     this.rankingPoints = param1.ReadInt();
     this.rankingPoints = param1.Shift(this.rankingPoints, 20);
     this.leaderName    = param1.ReadUTF();
     this.clanName      = param1.ReadUTF();
 }
Example #12
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     param1.ReadShort();
     this.targetName      = param1.ReadUTF();
     this.targetId        = param1.ReadInt();
     this.targetId        = param1.Shift(this.targetId, 8);
     this.inviterShipIcon = lookup.Lookup(param1) as class_504;
     this.inviterShipIcon.Read(param1, lookup);
     this.inviterName    = param1.ReadUTF();
     this.targetShipIcon = lookup.Lookup(param1) as class_504;
     this.targetShipIcon.Read(param1, lookup);
     this.inviterId = param1.ReadInt();
     this.inviterId = param1.Shift(this.inviterId, 30);
 }
Example #13
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.buildButtonActive    = param1.ReadBoolean();
     this.ownClanName          = param1.ReadUTF();
     this.bestProgress         = param1.ReadFloat();
     this.bestProgressClanName = param1.ReadUTF();
     param1.ReadShort();
     this.state = lookup.Lookup(param1) as EquippedModulesModule;
     this.state.Read(param1, lookup);
     this.ownProgress = param1.ReadFloat();
     param1.ReadShort();
     this.battleStationId = param1.ReadInt();
     this.battleStationId = param1.Shift(this.battleStationId, 8);
 }
Example #14
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.menuId   = param1.ReadShort();
     this.var_1193 = param1.ReadUTF();
     param1.ReadShort();
     this.var_3108 = param1.ReadUTF();
     this.menuBarItems.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as ClientUIMenuBarItemModule;
         tmp_0.Read(param1, lookup);
         this.menuBarItems.Add(tmp_0);
     }
 }
Example #15
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.var_261.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as ClientUISlotBarItemModule;
         tmp_0.Read(param1, lookup);
         this.var_261.Add(tmp_0);
     }
     this.var_758   = param1.ReadUTF();
     this.visible   = param1.ReadBoolean();
     this.var_3285  = param1.ReadUTF();
     this.slotBarId = param1.ReadUTF();
 }
Example #16
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.var_1797 = param1.ReadBoolean();
     param1.ReadShort();
     this.toolTip = param1.ReadUTF();
     param1.ReadShort();
     this.args.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as class_615;
         tmp_0.Read(param1, lookup);
         this.args.Add(tmp_0);
     }
     this.name = param1.ReadUTF();
 }
Example #17
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.owningFaction = lookup.Lookup(param1) as FactionModule;
     this.owningFaction.Read(param1, lookup);
     this.status = param1.ReadShort();
     this.lastChangedTimestamp = param1.ReadDouble();
     this.xPositionPercentage  = param1.ReadInt();
     this.xPositionPercentage  = param1.Shift(this.xPositionPercentage, 2);
     this.asteroidName         = param1.ReadUTF();
     this.yPositionPercentage  = param1.ReadInt();
     this.yPositionPercentage  = param1.Shift(this.yPositionPercentage, 19);
     this.mapId    = param1.ReadInt();
     this.mapId    = param1.Shift(this.mapId, 5);
     this.clanName = param1.ReadUTF();
 }
Example #18
0
 public override void Read(IDataInput param1, ICommandLookup lookup)
 {
     base.Read(param1, lookup);
     this.name_176 = param1.ReadUTF();
     this.var_529  = lookup.Lookup(param1) as class_653;
     this.var_529.Read(param1, lookup);
     param1.ReadShort();
     this.var_2394 = lookup.Lookup(param1) as class_1085;
     this.var_2394.Read(param1, lookup);
     this.name_165 = param1.ReadUTF();
     this.var_977  = param1.ReadInt();
     this.var_977  = param1.Shift(this.var_977, 11);
     this.name_159 = param1.ReadInt();
     this.name_159 = param1.Shift(this.name_159, 23);
 }
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.typeId = param1.ReadUTF();
     param1.ReadShort();
     this.voucherPrice   = param1.ReadInt();
     this.voucherPrice   = param1.Shift(this.voucherPrice, 15);
     this.hangarId       = param1.ReadInt();
     this.hangarId       = param1.Shift(this.hangarId, 29);
     this.shipId         = param1.ReadInt();
     this.shipId         = param1.Shift(this.shipId, 31);
     this.hangarName     = param1.ReadUTF();
     this.uridiumPrice   = param1.ReadInt();
     this.uridiumPrice   = param1.Shift(this.uridiumPrice, 7);
     this.shipDesignName = param1.ReadUTF();
 }
Example #20
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     param1.ReadShort();
     this.var_4252 = param1.ReadUTF();
     this.userId   = param1.ReadInt();
     this.userId   = param1.Shift(this.userId, 3);
 }
Example #21
0
 public override void Read(IDataInput param1, ICommandLookup lookup)
 {
     base.Read(param1, lookup);
     this.userName = param1.ReadUTF();
     param1.ReadShort();
     param1.ReadShort();
 }
 public override void Read(IDataInput param1, ICommandLookup lookup)
 {
     base.Read(param1, lookup);
     this.name_46 = param1.ReadInt();
     this.name_46 = param1.Shift(this.name_46, 10);
     this.clanTag = param1.ReadUTF();
 }
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.type         = param1.ReadShort();
     this.maxHitpoints = param1.ReadInt();
     this.maxHitpoints = param1.Shift(this.maxHitpoints, 29);
     this.itemId       = param1.ReadInt();
     this.itemId       = param1.Shift(this.itemId, 31);
     this.slotId       = param1.ReadInt();
     this.slotId       = param1.Shift(this.slotId, 13);
     this.maxShield    = param1.ReadInt();
     this.maxShield    = param1.Shift(this.maxShield, 21);
     this.emergencyRepairSecondsTotal = param1.ReadInt();
     this.emergencyRepairSecondsTotal = param1.Shift(this.emergencyRepairSecondsTotal, 25);
     this.ownerName                  = param1.ReadUTF();
     this.currentShield              = param1.ReadInt();
     this.currentShield              = param1.Shift(this.currentShield, 31);
     this.installationSecondsLeft    = param1.ReadInt();
     this.installationSecondsLeft    = param1.Shift(this.installationSecondsLeft, 19);
     this.upgradeLevel               = param1.ReadInt();
     this.upgradeLevel               = param1.Shift(this.upgradeLevel, 23);
     this.emergencyRepairSecondsLeft = param1.ReadInt();
     this.emergencyRepairSecondsLeft = param1.Shift(this.emergencyRepairSecondsLeft, 10);
     this.currentHitpoints           = param1.ReadInt();
     this.currentHitpoints           = param1.Shift(this.currentHitpoints, 27);
     this.emergencyRepairCost        = param1.ReadInt();
     this.emergencyRepairCost        = param1.Shift(this.emergencyRepairCost, 4);
     this.installationSeconds        = param1.ReadInt();
     this.installationSeconds        = param1.Shift(this.installationSeconds, 25);
     this.asteroidId                 = param1.ReadInt();
     this.asteroidId                 = param1.Shift(this.asteroidId, 22);
 }
Example #24
0
 public virtual void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.visible = param1.ReadBoolean();
     this.itemId  = param1.ReadUTF();
     this.toolTip = lookup.Lookup(param1) as ClientUITooltipsCommand;
     this.toolTip.Read(param1, lookup);
 }
Example #25
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.killerEpppLink = param1.ReadUTF();
     this.options.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as KillScreenOptionModule;
         tmp_0.Read(param1, lookup);
         this.options.Add(tmp_0);
     }
     param1.ReadShort();
     this.killerName      = param1.ReadUTF();
     this.playerShipAlias = param1.ReadUTF();
     this.cause           = lookup.Lookup(param1) as DestructionTypeModule;
     this.cause.Read(param1, lookup);
 }
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.letterIndex = param1.ReadInt();
     this.letterIndex = param1.Shift(this.letterIndex, 1);
     this.letterValue = param1.ReadUTF();
     param1.ReadShort();
 }
Example #27
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.priorityMode = lookup.Lookup(param1) as LogMessengerPriorityModule;
     this.priorityMode.Read(param1, lookup);
     this.lootId = param1.ReadUTF();
     param1.ReadShort();
 }
Example #28
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.var_25.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as class_601;
         tmp_0.Read(param1, lookup);
         this.var_25.Add(tmp_0);
     }
     param1.ReadShort();
     this.name_131 = param1.ReadUTF();
     this.name_7   = param1.ReadDouble();
     param1.ReadShort();
     this.playerPoints    = param1.ReadInt();
     this.playerPoints    = param1.Shift(this.playerPoints, 21);
     this.totalClanPoints = param1.ReadInt();
     this.totalClanPoints = param1.Shift(this.totalClanPoints, 20);
     this.var_2247        = param1.ReadInt();
     this.var_2247        = param1.Shift(this.var_2247, 9);
     this.var_3344.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as class_601;
         tmp_0.Read(param1, lookup);
         this.var_3344.Add(tmp_0);
     }
 }
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     param1.ReadShort();
     this.mapTitle = param1.ReadUTF();
     this.mapId    = param1.ReadInt();
     this.mapId    = param1.Shift(this.mapId, 5);
 }
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.name_168 = param1.ReadBoolean();
     this.var_3927 = lookup.Lookup(param1) as class_571;
     this.var_3927.Read(param1, lookup);
     this.cloaked = param1.ReadBoolean();
     this.target  = lookup.Lookup(param1) as class_550;
     this.target.Read(param1, lookup);
     this.id       = param1.ReadInt();
     this.id       = param1.Shift(this.id, 17);
     this.level    = param1.ReadInt();
     this.level    = param1.Shift(this.level, 5);
     this.location = lookup.Lookup(param1) as class_657;
     this.location.Read(param1, lookup);
     this.name = param1.ReadUTF();
     this.clan = lookup.Lookup(param1) as class_908;
     this.clan.Read(param1, lookup);
     this.var_5315 = param1.ReadBoolean();
     this.var_3152 = lookup.Lookup(param1) as class_504;
     this.var_3152.Read(param1, lookup);
     this.var_2874 = lookup.Lookup(param1) as class_588;
     this.var_2874.Read(param1, lookup);
     this.active  = param1.ReadBoolean();
     this.faction = lookup.Lookup(param1) as FactionModule;
     this.faction.Read(param1, lookup);
     this.var_2632 = param1.ReadBoolean();
 }
        public void ReadExternal(IDataInput input)
        {
            string json = input.ReadUTF();
            //DataContractJsonSerializer serialiser = new System.Runtime.Serialization.Json.DataContractJsonSerializer(typeof(BroadcastNotification));

            //Stream stream = new MemoryStream(ASCIIEncoding.Default.GetBytes(json));

            //BroadcastNotification notification = (BroadcastNotification)serialiser.ReadObject(stream);
            broadcastMessages = new ArrayCollection() ;
        }
Example #32
0
 /// <summary>
 /// Constructor for the <see cref="Trie"/> object.
 /// </summary>
 /// <param name="is">the input stream</param>
 /// <exception cref="IOException">if an I/O error occurs</exception>
 public Trie(IDataInput @is)
 {
     forward = @is.ReadBoolean();
     root = @is.ReadInt();
     for (int i = @is.ReadInt(); i > 0; i--)
     {
         cmds.Add(@is.ReadUTF());
     }
     for (int i = @is.ReadInt(); i > 0; i--)
     {
         rows.Add(new Row(@is));
     }
 }