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>(); }
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>(); }
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>(); }