Globals
C# Methods for Kick > Globals
GetKickUsersVar<T>
public List<UserVariableValue<T>> GetKickUsersVar<T>(string varName, bool persisted = true)
GetKickUserVar<T>
Gets the value of a specific Kick user variable by the user's name
1.0.0
public T GetKickUserVar<T>(string userName, string varName, bool persisted = true)
GetKickUserVarById<T>
Gets the value of a specific Kick user variable by the user's ID
1.0.0
public T GetKickUserVarById<T>(string userId, string varName, bool persisted = true)
IncrementAllKickUsersVar
Increments the value of a specific user global variable for all Kick users who have it set
1.0.0
public void IncrementAllKickUsersVar(string varName, object value, bool persisted = true)
IncrementKickUsersVarById
public void IncrementKickUsersVarById(List<string> userIds, string varName, object value, bool persisted = true)
IncrementOrCreateKickUsersVarById
Increments the values of Kick user variables for a list of user IDs. If the variable does not exist for a user, it will be created and set to the incremented value.
1.0.0
public void IncrementOrCreateKickUsersVarById(List<string> userIds, string varName, object value, bool persisted = true)
SetKickUsersVarById
Sets the value of a specific user Kick variable for a list of users by their IDs
1.0.0
public void SetKickUsersVarById(List<string> userIds, string varName, object value, bool persisted = true)
SetKickUserVar
Sets the value of a specific Kick user variable by the user's name
1.0.0
public void SetKickUserVar(string userName, string varName, object value, bool persisted = true)
SetKickUserVarById
Sets the value of a specific Kick user variable by the user's ID
1.0.0
public void SetKickUserVarById(string userId, string varName, object value, bool persisted = true)
UnsetKickUser
public void UnsetKickUser(string userName, bool persisted = true)
UnsetKickUserById
public void UnsetKickUserById(string userId, bool persisted = true)
UnsetKickUserVar
Permanently deletes the value of a specific Kick user variable by the user's name
1.0.0
public void UnsetKickUserVar(string userName, string varName, bool persisted = true)