public static Packet PartyError(PartyFunction Message) { Packet pw = new Packet(ServerMessages.PARTY_RESULT); pw.WriteByte((byte)Message); return(pw); }
public static Packet PartyErrorWithName(PartyFunction Message, string name) { Packet pw = new Packet(ServerMessages.PARTY_RESULT); pw.WriteByte((byte)Message); pw.WriteString(name); return(pw); }