public CreatureSay(int id, SayIDList type, string name, string text) { _objectId = id; _type = type; _charName = name; Text = text; }
public CreatureSay(int id, SayIDList _type, string name, string _text) { this._objectId = id; this._type = _type; this._charName = name; this.Text = _text; }
public override void read() { _text = readS(); int typeId = readD(); if (typeId < 0 || typeId >= SayID.MaxID) { typeId = 0; } Type = SayID.getType((byte)typeId); if (Type == SayIDList.CHAT_TELL) { _target = readS(); } }
public Say2(Packet packet, GameClient client) { _client = client; _text = packet.ReadString(); int typeId = packet.ReadInt(); if ((typeId < 0) || (typeId >= SayId.MaxId)) { typeId = 0; } _type = SayId.getType((byte)typeId); if (_type == SayIDList.CHAT_TELL) { _target = packet.ReadString(); } }
public CreatureSay(SayIDList type) { _type = type; Text = string.Empty; }
public CreatureSay(SayIDList type, string text) { _type = type; Text = text; }
public CreatureSay(SayIDList _type, string _text = "") { this._type = _type; this.Text = _text; }