protected override void Write(NWriter wtr) { wtr.Write(Time); wtr.Write(BulletId); wtr.Write(ObjectId); wtr.Write(TargetId); }
protected override void Write(Client psr, NWriter wtr) { wtr.Write(Time); wtr.Write(BulletId); wtr.Write(TargetId); wtr.Write(Killed); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write(AccountListId); wtr.Write((short)AccountIds.Length); foreach (var i in AccountIds) wtr.Write(i); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write(Time); wtr.Write(BulletId); wtr.Write(ObjectId); wtr.Write(TargetId); }
protected override void Write(NWriter wtr) { wtr.Write(Damage); wtr.Write(EnemyId); wtr.Write(BulletId); wtr.Write(ArmorPiercing); }
protected override void Write(NWriter wtr) { wtr.Write(Time); Position.Write(wtr); Obj1.Write(wtr); Obj2.Write(wtr); }
private static void ServePolicyFile(IAsyncResult ar) { try { TcpClient cli = (ar.AsyncState as TcpListener).EndAcceptTcpClient(ar); (ar.AsyncState as TcpListener).BeginAcceptTcpClient(ServePolicyFile, ar.AsyncState); NetworkStream s = cli.GetStream(); NReader rdr = new NReader(s); NWriter wtr = new NWriter(s); if (rdr.ReadNullTerminatedString() == "<policy-file-request/>") { wtr.WriteNullTerminatedString(@"<cross-domain-policy> <allow-access-from domain=""*"" to-ports=""*"" /> </cross-domain-policy>"); wtr.Write((byte)'\r'); wtr.Write((byte)'\n'); } cli.Close(); } catch (ObjectDisposedException) { } catch (Exception ex) { logger.Error(ex); } }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write(BulletId); wtr.Write(OwnerId); wtr.Write(ContainerType); wtr.Write(Angle); }
protected override void Write(NWriter wtr) { wtr.Write(BulletId); wtr.Write(OwnerId); wtr.Write(ContainerType); wtr.Write(Angle); }
public string Write() { var wtr = new NWriter(new MemoryStream()); wtr.WriteUTF(accId); wtr.WriteUTF(giftCode); return Convert.ToBase64String(((MemoryStream)wtr.BaseStream).ToArray()); }
protected override void Write(Client psr, NWriter wtr) { wtr.Write(Time); Position.Write(psr, wtr); SlotObject1.Write(psr, wtr); SlotObject2.Write(psr, wtr); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write(Time); Position.Write(wtr); Obj1.Write(wtr); Obj2.Write(wtr); }
protected override void Write(Client client, NWriter wtr) { wtr.Write(Tier); wtr.WriteUTF(Goal); wtr.WriteUTF(Description); wtr.WriteUTF(Image); }
protected override void Write(Client psr, NWriter wtr) { wtr.Write(Time); SlotObject.Write(psr, wtr); ItemUsePos.Write(psr, wtr); wtr.Write(UseType); }
protected override void Write(Client psr, NWriter wtr) { wtr.Write(AccountListId); wtr.Write((ushort) AccountIds.Length); foreach (string i in AccountIds) wtr.WriteUTF(i); wtr.Write(LockAction); }
protected override void Write(NWriter wtr) { wtr.WriteUTF(Title); wtr.WriteUTF(Message); wtr.WriteUTF(Button1); wtr.WriteUTF(Button2); wtr.WriteUTF(Type); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write(Time); wtr.Write(BulletId); wtr.Write(ContainerType); Position.Write(wtr); wtr.Write(Angle); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.WriteUTF(Title); wtr.WriteUTF(Message); wtr.WriteUTF(Button1); wtr.WriteUTF(Button2); wtr.WriteUTF(Type); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write((byte)EffectType); wtr.Write(TargetId); PosA.Write(wtr); PosB.Write(wtr); Color.Write(wtr); }
protected override void Write(Client psr, NWriter wtr) { wtr.WriteUTF(AccountId); wtr.Write(CharId); wtr.WriteUTF(Killer); wtr.Write(obf0); wtr.Write(obf1); }
protected override void Write(NWriter wtr) { wtr.Write(Time); wtr.Write(BulletId); wtr.Write(TargetId); wtr.Write(Killed); wtr.Write(Damage); }
protected override void Write(NWriter wtr) { wtr.Write((byte)EffectType); wtr.Write(TargetId); PosA.Write(wtr); PosB.Write(wtr); Color.Write(wtr); }
protected override void Write(NWriter wtr) { wtr.Write(BulletId); wtr.Write(OwnerId); wtr.Write(ContainerType); Position.Write(wtr); wtr.Write(Angle); wtr.Write(Damage); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write((short) MyOffers.Length); foreach (var i in MyOffers) wtr.Write(i); wtr.Write((short) YourOffers.Length); foreach (var i in YourOffers) wtr.Write(i); }
protected override void Write(Client psr, NWriter wtr) { wtr.Write(BulletId); wtr.Write(OwnerId); wtr.Write(ContainerType); StartingPos.Write(psr, wtr); wtr.Write(Angle); wtr.Write(Damage); }
protected override void Write(Client psr, NWriter wtr) { wtr.Write(TickId); wtr.Write(TickTime); wtr.Write((ushort)UpdateStatuses.Length); foreach (ObjectStats i in UpdateStatuses) i.Write(psr, wtr); }
protected override void Write(NWriter wtr) { wtr.Write(TickId); wtr.Write(Time); Position.Write(wtr); wtr.Write((short)Records.Length); foreach (var i in Records) i.Write(wtr); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write(TickId); wtr.Write(TickTime); wtr.Write((short) UpdateStatuses.Length); foreach (var i in UpdateStatuses) i.Write(wtr); }
protected override void Write(NWriter wtr) { Position.Write(wtr); wtr.Write(Radius); wtr.Write(Damage); wtr.Write((byte)Effects); wtr.Write(EffectDuration); wtr.Write(OriginType); }
protected override void Write( NWriter wtr) { wtr.Write((ushort)MyOffers.Length); foreach (bool i in MyOffers) wtr.Write(i); wtr.Write((ushort)YourOffers.Length); foreach (bool i in YourOffers) wtr.Write(i); }
protected override void Write(Client client, NWriter wtr) { wtr.Write((int)Type); }
protected override void Write(Client psr, NWriter wtr) { wtr.WriteUTF(Title); wtr.WriteUTF(Description); }
public void Write(NWriter wtr) { wtr.Write(Width); wtr.Write(Height); wtr.Write(Bytes); }
protected override void Write(Client psr, NWriter wtr) { wtr.Write((ushort)ClassType); wtr.Write((ushort)SkinType); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write(Button); wtr.WriteUTF(Type); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write(Time); wtr.Write(BulletId); wtr.Write(ObjectId); }
protected override void Write(NWriter wtr) { wtr.Write(Success); wtr.WriteUTF(ErrorText); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write(ObjectID); }
protected override void Write(NWriter wtr) { }
protected override void Write(NWriter wtr) { wtr.Write(ObjectId); Position.Write(wtr); }
protected override void Write(NWriter wtr) { wtr.Write(Time); Position.Write(wtr); }
protected override void Write(NWriter wtr) { wtr.WriteUTF(GuildName); }
public void Write(NWriter wtr) { wtr.Write(X); wtr.Write(Y); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write(Serial); wtr.Write(Time); }
protected override void Write(NWriter wtr) { wtr.Write(Currency); }
protected override void Write(Client psr, NWriter wtr) { wtr.Write(ObjectId); Position.Write(psr, wtr); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write(Success); wtr.WriteUTF(ResultMessage); }
protected override void Write(Client client, NWriter wtr) { }
protected override void Write(NWriter wtr) { wtr.Write(ObjectId); }
protected override void Write(NWriter wtr) { wtr.Write(Amount); wtr.WriteUTF(Name); }
protected override void Write(NWriter wtr) { wtr.Write(SkinId); }
protected override void Write(NWriter wtr) { wtr.Write(AccountListId); wtr.Write(Add); wtr.Write(ObjectId); }
protected override void Write(Client psr, NWriter wtr) { wtr.Write(ErrorId); wtr.WriteUTF(ErrorDescription); }
public void Write(NWriter wtr) { wtr.Write(ObjectType); Stats.Write(wtr); }
protected override void Write(NWriter wtr) { wtr.Write(_li); }
protected override void Write(NWriter wtr) { wtr.Write(Serial); wtr.Write(Time); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write(Content); }
protected override void Write(Client psr, NWriter wtr) { wtr.WriteUTF(Name); }
public void Write(NWriter wtr) { wtr.Write(Time); Position.Write(wtr); }
protected override void Write(ClientProcessor psr, NWriter wtr) { wtr.Write32UTF(Text); }