/// <summary> /// Retrieves the packet code depending on client version /// </summary> /// <param name="packetCode"></param> /// <returns></returns> public virtual byte GetPacketCode(eServerPackets packetCode) { return((byte)packetCode); }
public byte GetPacketCode(eServerPackets packetCode) { return(0); }
public byte GetPacketCode(eServerPackets packetCode) { return GetPacketCodeFunc != null ? GetPacketCodeFunc(this, packetCode) : default(byte); }
public byte GetPacketCode(eServerPackets packetCode) { return 0; }
/// <summary> /// Retrieves the packet code depending on client version /// </summary> /// <param name="packetCode"></param> /// <returns></returns> public virtual byte GetPacketCode(eServerPackets packetCode) { return (byte)packetCode; }