public void Write(BinaryWriter bw) { byte[] data = Encoding.Unicode.GetBytes(Text + '\0'); bw.Write(data.Length); bw.Write(data); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { string channel = ""; switch (ChatChannel) { case ChatChannels2.System: channel = "$S"; break; case ChatChannels2.NormalWithoutName: channel = "$A"; break; case ChatChannels2.Gm: channel = "$I"; break; case ChatChannels2.CenterScreen: channel = "$X"; break; } byte[] data = Encoding.Unicode.GetBytes(channel + Text + '\0'); bw.Write(data.Length); bw.Write(data); bw.Write((uint)AppendDataMask); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(ID); bw.Write(Stop); bw.Write(new byte[] { 0, 0, 0 }); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(ID); bw.Write(Period); bw.Write(Counter); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(ActionName.FromGBK(128)); bw.Write(Loop); bw.Write(new byte[] { 0, 0, 0 }); bw.Write(Interval); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(ActionName.FromGBK(128)); bw.Write(LoopCount); bw.Write(Interval); bw.Write(PlayTime); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(RadiusValue); bw.Write(RadiusType); bw.Write(TargetID); bw.Write(Target_Type); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(ID); bw.Write(Value); bw.Write(IsHistoryValue); bw.Write(new byte[] { 0, 0, 0 }); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(Skill.Value); bw.Write(SkillType); bw.Write(Level); bw.Write(LevelType); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(WorldID); bw.Write(PathID); bw.Write((int)PatrolType); bw.Write((int)SpeedType); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(ID); bw.Write(IDType); bw.Write(Range); bw.Write(PlayerNum); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(MonsterID.Value); bw.Write(Range); bw.Write(Life); bw.Write((int)DispearCondition); bw.Write(PathID); bw.Write(MonsterNum); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(MinX); bw.Write(MinY); bw.Write(MinZ); bw.Write(MaxX); bw.Write(MaxY); bw.Write(MaxZ); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(Dst); bw.Write((int)DstType); bw.Write(Src1); bw.Write((int)Src1Type); bw.Write((int)Op); bw.Write(Src2); bw.Write((int)Src2Type); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(MonsterID.Value); bw.Write(Range); bw.Write(Life); bw.Write(Dispear); bw.Write(UsePolicyTarget); bw.Write(PathID); bw.Write(MonsterNum); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(LifeType); bw.Write(MineID.Value); bw.Write(MineIDType); bw.Write(Range); bw.Write(Life); bw.Write(MineNum); bw.Write(MineNumType); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(LifeType); bw.Write(NPCID.Value); bw.Write(NPCIDType); bw.Write(Range); bw.Write(Life); bw.Write(PathID); bw.Write(PathIDType); bw.Write(NPCNum); bw.Write(NPCNumType); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write(ID); TargetStream.Save(bw, Target); }
public void Write(BinaryWriter bw) { bw.Write((uint)Type); TargetStream.Save(bw, Target); }