public BroadcastPacket ( wServer.networking.Packet pkt, Player exclude ) : void | ||
pkt | wServer.networking.Packet | |
exclude | Player | |
Résultat | void |
public void Oryx(World world, string text) { world.BroadcastPacket(new TextPacket() { BubbleTime = 0, Stars = -1, Name = "#Oryx the Mad God", Text = text }, null); }
public void Oryx(World world, string text) { world.BroadcastPacket(new TextPacket() { BubbleTime = 0, Stars = -1, Name = "#Oryx the Mad God", Text = text }, null); }
public void Oryx(World world, string text) { world.BroadcastPacket(new TextPacket() { BubbleTime = 0, Stars = -1, Name = "#Oryx the Mad God", Text = text.ToSafeText() }, null); log.InfoFormat("[{0}({1})] <Oryx the Mad God> {2}", world.Name, world.Id, text); }
public void Oryx(World world, string text) { world.BroadcastPacket(new TextPacket() { BubbleTime = 0, Stars = -1, Name = "#Oryx the Mad God", Text = text.ToSafeText() }, null); logger.InfoFormat("[{0}({1})] <Oryx the Mad God> {2}", world.Name, world.Id, text); }
public void Oryx(World world, string text) { world.BroadcastPacket(new TextPacket() { BubbleTime = 0, Stars = -1, Name = "#Oryx the Mad God", Text = text }, null); log.Info($"[{world.Name} ({world.Id})] <Oryx the Mad God> {text}"); }
public void ChatBot(World world, string text) { world.BroadcastPacket(new TextPacket { BubbleTime = 0, Stars = -1, Name = "!Bot", Text = text.ToSafeText() }, null); log.InfoFormat("[{0}({1})] <HatBot> {2}", world.Name, world.Id, text); }
public void Oryx(World world, string text) { world.BroadcastPacket(new TextPacket { BubbleTime = 0, Stars = -1, Name = "#Oryx the Mad God", Text = text.ToSafeText() }, null); if (CheckConfig.IsDebugOn()) { Console.WriteLine("[{0}({1})] <Oryx the Mad God> {2}", world.Name, world.Id, text); } }
public void Oryx(World world, string text) { if (string.IsNullOrWhiteSpace(text)) { return; } world.BroadcastPacket(new Text() { BubbleTime = 0, NumStars = -1, Name = "#Oryx the Mad God", Txt = text }, null, PacketPriority.Low); }
public void Oryx(World world, string text) { if (string.IsNullOrWhiteSpace(text)) { return; } world.BroadcastPacket(new Text() { BubbleTime = 0, NumStars = -1, Name = "#Oryx the Mad God", Txt = text }, null); log.Info("[{0}({1})] <Oryx the Mad God> {2}", world.Name, world.Id, text); }