Exemple #1
0
        public PubFileCommand()
        {
            Triggers.Add("!pubfile");
            Triggers.Add("!publishedfile");
            HelpText = "!pubfile <pubfileid> - Requests published file details for the given published file ID";

            ugcHandler = Steam.Instance.SteamManager.GetHandler <UGCHandler>();
        }
Exemple #2
0
        public DotaPlayers()
        {
            Triggers.Add("!dotaplayers");
            HelpText = "!dotaplayers <pubfile/ugc name> - Requests player count information for a dota custom game";

            new GCCallback <CMsgGCToClientCustomGamePlayerCountResponse>((uint)EDOTAGCMsg.k_EMsgGCToClientCustomGamePlayerCountResponse, OnPlayers, Steam.Instance.GCManager);

            ugcHandler = Steam.Instance.SteamManager.GetHandler <UGCHandler>();
        }
Exemple #3
0
        public DotaGCTopGamesHandler(GCManager manager)
            : base(manager)
        {
            Instance = this;

            new GCCallback <CMsgGCTopCustomGamesList>((uint)EDOTAGCMsg.k_EMsgGCTopCustomGamesList, OnTopCustomGames, manager);

            ugcHandler = Steam.Instance.SteamManager.GetHandler <UGCHandler>();
        }
        public DotaGCTopGamesHandler( GCManager manager )
            : base(manager)
        {
            Instance = this;

            new GCCallback<CMsgGCTopCustomGamesList>( (uint)EDOTAGCMsg.k_EMsgGCTopCustomGamesList, OnTopCustomGames, manager );

            ugcHandler = Steam.Instance.SteamManager.GetHandler<UGCHandler>();
        }