Globals
C# Methods for YouTube > Globals
GetYouTubeUsersVar<T>
public List<UserVariableValue<T>> GetYouTubeUsersVar<T>(string varName, bool persisted = true)
GetYouTubeUserVar<T>
public T GetYouTubeUserVar<T>(string userName, string varName, bool persisted = true)
GetYouTubeUserVarById<T>
public T GetYouTubeUserVarById<T>(string userId, string varName, bool persisted = true)
IncrementAllYouTubeUsersVar
Increments the value of a specific user global variable for all YouTube users
0.2.4
public void IncrementAllYouTubeUsersVar(string varName, object value, bool persisted = true)
IncrementOrCreateYouTubeUsersVarById
Increments the value of a specific user global variable for a specified YouTube user, by ID. If the variable doesn't exist, it creates a new one
0.2.4
public void IncrementOrCreateYouTubeUsersVarById(List<string> userIds, string varName, object value, bool persisted = true)
IncrementYouTubeUsersVarById
Increments the value of a specific user global variable for specified YouTube user, by ID
0.2.4
public void IncrementYouTubeUsersVarById(List<string> userIds, string varName, object value, bool persisted = true)
SetYouTubeUsersVarById
public void SetYouTubeUsersVarById(List<string> userIds, string varName, object value, bool persisted = true)
SetYouTubeUserVar
public void SetYouTubeUserVar(string userName, string varName, object value, bool persisted = true)
SetYouTubeUserVarById
public void SetYouTubeUserVarById(string userId, string varName, object value, bool persisted = true)
UnsetYouTubeUser
public void UnsetYouTubeUser(string userName, bool persisted = true)
UnsetYouTubeUserById
public void UnsetYouTubeUserById(string userId, bool persisted = true)
UnsetYouTubeUserVar
public void UnsetYouTubeUserVar(string userName, string varName, bool persisted = true)
UnsetYouTubeUserVarById
public void UnsetYouTubeUserVarById(string userId, string varName, bool persisted = true)
Â