SharpMod.DProto.Init C# (CSharp) Method

Init() public static method

This has to be called in order to make this work this class proplery. If you use this class in your plugin, just call it when the plugin is loaded.
public static Init ( ) : void
return void
        public static void Init()
        {
            if (protocol == null) protocol    = CVar.Get("dp_r_protocol");
            if (id_provider == null) id_provider = CVar.Get("dp_r_id_provider");
            if (version == null)     version     = CVar.Get("dp_version");
        }