public void SendAnnounce(TextInformationTypeEnum type, short messageId, params object[] parameters) { ServerBase <WorldServer> .Instance.IOTaskPool.AddMessage(delegate { this.ForEachCharacter(delegate(Character character) { character.SendInformationMessage(type, messageId, parameters); }); }); }
public void SendTextInformation(TextInformationTypeEnum type, short id, params object[] parameters) { Bot.SendToClient(new TextInformationMessage((sbyte)type, id, parameters.Select(entry => entry.ToString()).ToArray())); }
private void SendTextInformation(TextInformationTypeEnum type, ushort id, params object[] parameters) { mHost.SendMessage((new TextInformationMessage((sbyte)type, id, parameters.Select(entry => entry.ToString()).ToArray())), Enums.DestinationEnum.CLIENT); }
public static void SendTextInformationMessage(IPacketReceiver client, TextInformationTypeEnum msgType, short msgId) { client.Send(new TextInformationMessage((sbyte)msgType, msgId, new string[0])); }
public static void SendTextInformationMessage(IPacketReceiver client, TextInformationTypeEnum msgType, short msgId, params object[] arguments) { client.Send(new TextInformationMessage((sbyte)msgType, msgId, arguments.Select(entry => entry.ToString()))); }
public static void SendTextInformationMessage(IPacketReceiver client, TextInformationTypeEnum msgType, short msgId, params string[] arguments) { client.Send(new TextInformationMessage((sbyte)msgType, msgId, arguments)); }
public TextInformationMessage(TextInformationTypeEnum Type, int Id, params string[] Args) { this.TextType = Type; this.Id = Id; this.Args = Args; }
public void SendAnnounce(TextInformationTypeEnum type, short messageId, params object[] parameters) { ForEachCharacter(character => character.SendInformationMessage(type, messageId, parameters)); }
public static void SendTextInformationMessage(GameClient client, TextInformationTypeEnum msgType, short msgId, string[] parameters) { client.Send(new TextInformationMessage((sbyte)msgType, msgId, parameters)); }