public void WriteExternal(IDataOutput output)
		{
            var bytes = Encoding.UTF8.GetBytes(Json);

            output.WriteInt(bytes.Length);
            output.WriteBytes(bytes, 0, bytes.Length);
		}
Example #2
0
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.y, 17));
     param1.WriteShort(27695);
     param1.WriteInt(param1.Shift(this.x, 15));
 }
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.var_2247, 25));
 }
Example #4
0
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.name_33, 14));
     param1.WriteShort(29805);
 }
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.var_4330, 24));
     param1.WriteShort(-29221);
     param1.WriteShort(-27358);
 }
 protected void method_9(IDataOutput param1)
 {
     param1.WriteShort(-22498);
     param1.WriteInt(param1.Shift(this.var_1876, 11));
 }
Example #7
0
 protected void method_9(IDataOutput param1)
 {
     param1.WriteUTF(this.clanTag);
     param1.WriteInt(param1.Shift(this.factionId, 15));
     param1.WriteInt(param1.Shift(this.x, 17));
     param1.WriteShort(28985);
     param1.WriteInt(this.modifier.Count);
     foreach (var tmp_0 in this.modifier)
     {
         tmp_0.Write(param1);
     }
     param1.WriteInt(param1.Shift(this.dailyRank, 10));
     param1.WriteInt(param1.Shift(this.y, 28));
     param1.WriteInt(param1.Shift(this.clanId, 12));
     param1.WriteInt(param1.Shift(this.userId, 30));
     param1.WriteBoolean(this.npc);
     param1.WriteUTF(this.typeId);
     param1.WriteBoolean(this.cloaked);
     param1.WriteBoolean(this.warnBox);
     param1.WriteInt(param1.Shift(this.expansionStage, 24));
     param1.WriteInt(param1.Shift(this.motherShipId, 9));
     this.minimapColor.Write(param1);
     this.clanDiplomacy.Write(param1);
     param1.WriteUTF(this.userName);
     param1.WriteUTF(this.var_4950);
     param1.WriteBoolean(this.useSystemFont);
     param1.WriteInt(param1.Shift(this.galaxyGatesDone, 28));
     param1.WriteInt(param1.Shift(this.positionIndex, 2));
 }
 protected void method_9(IDataOutput param1) {
     param1.WriteShort(766);
     param1.WriteInt(param1.Shift(this.userId, 22));
     this.var_672.Write(param1);
     param1.WriteInt(param1.Shift(this.name_46, 12));
 }
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.uid, 19));
 }
Example #10
0
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.score, 10));
     param1.WriteShort(-11405);
     this.faction.Write(param1);
 }
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.var_5243, 16));
 }
 protected void method_9(IDataOutput param1)
 {
     this.type.Write(param1);
     param1.WriteInt(param1.Shift(this.seconds, 2));
 }
 protected void method_9(IDataOutput param1)
 {
     param1.WriteBoolean(this.var_2407);
     param1.WriteInt(param1.Shift(this.var_2327, 23));
     param1.WriteShort(-13611);
 }
Example #14
0
 public void WriteExternal(IDataOutput output)
 {
     output.WriteInt(Json.Length);
     output.WriteUTFBytes(Json);
 }
Example #15
0
        /// <summary>
        /// Write the contents of this <see cref="Row"/> to the given output stream.
        /// </summary>
        /// <param name="os">the output stream</param>
        /// <exception cref="IOException">if an I/O error occurs</exception>
        public virtual void Store(IDataOutput os)
        {
            os.WriteInt(cells.Count);
            IEnumerator<char> i = cells.Keys.GetEnumerator();
            for (; i.MoveNext();)
            {
                char c = i.Current;
                Cell e = At(c);
                if (e.cmd < 0 && e.@ref < 0)
                {
                    continue;
                }

                os.WriteChar(c);
                os.WriteInt(e.cmd);
                os.WriteInt(e.cnt);
                os.WriteInt(e.@ref);
                os.WriteInt(e.skip);
            }
        }
Example #16
0
		public void WriteExternal(IDataOutput output)
		{
			output.WriteInt(Json.Length);
			output.WriteUTFBytes(Json);
		}
Example #17
0
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.smartBomb, 20));
     param1.WriteInt(param1.Shift(this.jumpCPU, 29));
     param1.WriteInt(param1.Shift(this.mineTurbo, 31));
     param1.WriteInt(param1.Shift(this.droneCPU, 22));
     param1.WriteInt(param1.Shift(this.cloakCPU, 24));
     param1.WriteInt(param1.Shift(this.specialJumpCPU, 11));
     param1.WriteInt(param1.Shift(this.rocketBuyCPU, 7));
     param1.WriteInt(param1.Shift(this.autoRlCPU, 25));
     param1.WriteInt(param1.Shift(this.ammoCPU, 6));
     param1.WriteInt(param1.Shift(this.diploCPU, 27));
     param1.WriteInt(param1.Shift(this.arolCPU, 14));
     param1.WriteInt(param1.Shift(this.instaShield, 21));
     param1.WriteInt(param1.Shift(this.aimCPU, 12));
 }
Example #18
0
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.windowId, 30));
     param1.WriteShort(30229);
 }
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.var_1090, 20));
     param1.WriteInt(param1.Shift(this.userId, 15));
 }
Example #20
0
 protected void method_9(IDataOutput param1)
 {
     param1.WriteUTF(this.userName);
     param1.WriteInt(param1.Shift(this.userId, 8));
 }
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.var_2243, 6));
     param1.WriteShort(-8737);
 }
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.name_99, 29));
 }
Example #23
0
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.duration, 26));
     this.type.Write(param1);
 }
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.var_2336, 12));
     param1.WriteInt(param1.Shift(this.var_1567, 17));
     param1.WriteShort(14929);
 }
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.battleStationId, 16));
     param1.WriteShort(-1613);
     param1.WriteInt(param1.Shift(this.minutes, 7));
 }
 protected void method_9(IDataOutput param1)
 {
     param1.WriteBoolean(this.name_98);
     param1.WriteShort(9628);
     param1.WriteInt(param1.Shift(this.name_142, 28));
 }
Example #27
0
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.var_1574, 9));
     param1.WriteShort(-22090);
 }
Example #28
0
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.var_207, 6));
     param1.WriteUTF(this.id);
     param1.WriteInt(param1.Shift(this.progress, 25));
 }
 protected override void method_9(IDataOutput param1)
 {
     base.method_9(param1);
     param1.WriteInt(param1.Shift(this.name_46, 22));
     param1.WriteUTF(this.clanTag);
 }
Example #30
0
 protected void method_9(IDataOutput param1)
 {
     param1.WriteShort(-224);
     param1.WriteInt(param1.Shift(this.var_1567, 14));
     param1.WriteShort(19562);
 }
Example #31
0
 protected void method_9(IDataOutput param1)
 {
     param1.WriteShort(10651);
     param1.WriteShort(15664);
     param1.WriteInt(param1.Shift(this.shipId, 18));
 }
Example #32
0
 /// <summary>
 /// Write this data structure to the given output stream.
 /// </summary>
 /// <param name="os">the output stream</param>
 /// <exception cref="IOException">if an I/O error occurs</exception>
 public override void Store(IDataOutput os)
 {
     os.WriteBoolean(forward);
     os.WriteInt(BY);
     os.WriteInt(tries.Count);
     foreach (Trie trie in tries)
         trie.Store(os);
 }
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.id, 22));
     param1.WriteShort(-4099);
 }
Example #34
0
        /// <summary>
        /// Write this <see cref="Trie"/> to the given output stream.
        /// </summary>
        /// <param name="os">the output stream</param>
        /// <exception cref="IOException">if an I/O error occurs</exception>
        public virtual void Store(IDataOutput os)
        {
            os.WriteBoolean(forward);
            os.WriteInt(root);
            os.WriteInt(cmds.Count);
            foreach (string cmd in cmds)
                os.WriteUTF(cmd);

            os.WriteInt(rows.Count);
            foreach (Row row in rows)
                row.Store(os);
        }
 protected void method_9(IDataOutput param1)
 {
     param1.WriteInt(param1.Shift(this.var_3378, 29));
 }