public static void Tip(string message, string header = "MapleTip") { using (Packet outPacket = new Packet(MapleServerOperationCode.YellowTip)) { outPacket.WriteByte(0xFF); outPacket.WriteString("[{0}] {1}", header, message); ChannelData.Broadcast(outPacket); } }
public static void Notify(string message, NoticeType type = NoticeType.Notice) { using (Packet outPacket = new Packet(MapleServerOperationCode.ServerMessage)) { outPacket.WriteByte((byte)type); outPacket.WriteString(message); ChannelData.Broadcast(outPacket); } }