public void SendChannelSpeech(string sender, SpeechType type, ChatChannel channelId, string message) { NetworkMessage outMessage = new NetworkMessage(); CreatureSpeechPacket.Add( outMessage, sender, 1, type, message, null, channelId, 0 ); Send(outMessage); }
public void SendCreatureSpeech(Creature creature, SpeechType speechType, string message) { NetworkMessage outMessage = new NetworkMessage(); CreatureSpeechPacket.Add( outMessage, creature.Name, 1, speechType, message, creature.Tile.Location, ChatChannel.None, 0000 ); Send(outMessage); }