SharpMod.DProto.GetProtocol C# (CSharp) Method

GetProtocol() public static method

Gets the protocol version of the client.
public static GetProtocol ( this player ) : int
player this
return int
        public static int GetProtocol(this Player player)
        {
            UpdateCVariables(player);
            return Protocol;
        }