Show / Hide Table of Contents

Class SkillCommands

Inheritance
System.Object
SkillCommands
Namespace: Eco.Gameplay.Skills
Assembly: Eco.Gameplay.dll
Syntax
[ChatCommandHandler]
public static class SkillCommands : Object

Methods

AddLevelTo(User, User, Int32)

Declaration
[ChatSubCommand]
public static void AddLevelTo(User user, User targetUser = null, int stars = 1)
Parameters
Type Name Description
User user
User targetUser
System.Int32 stars

AddPointsTo(User, User, Int32)

Declaration
[ChatSubCommand]
public static void AddPointsTo(User user, User targetUser = null, int stars = 1)
Parameters
Type Name Description
User user
User targetUser
System.Int32 stars

All(User, User)

Declaration
[ChatSubCommand]
public static void All(User user, User targetUser = null)
Parameters
Type Name Description
User user
User targetUser

ClearTalents(User, User, String)

Declaration
[ChatSubCommand]
public static void ClearTalents(User user, User targetUser, string skillName = "")
Parameters
Type Name Description
User user
User targetUser
System.String skillName

DebugEdu(User)

Declaration
[ChatSubCommand]
public static void DebugEdu(User user)
Parameters
Type Name Description
User user

Education(User, String, Single, User)

Declaration
[ChatSubCommand]
public static void Education(User user, string skillName, float value = 1F, User targetUser = null)
Parameters
Type Name Description
User user
System.String skillName
System.Single value
User targetUser

FullReset(User, User)

Declaration
[ChatSubCommand]
public static void FullReset(User user, User targetUser = null)
Parameters
Type Name Description
User user
User targetUser

Give(User, String, User)

Declaration
[ChatSubCommand]
public static void Give(User user, string skillName, User targetUser = null)
Parameters
Type Name Description
User user
System.String skillName
User targetUser

LevelUp(User, String, User)

Declaration
[ChatSubCommand]
public static void LevelUp(User user, string skillName, User targetUser = null)
Parameters
Type Name Description
User user
System.String skillName
User targetUser

LevelUp(User, Type)

Declaration
public static void LevelUp(User user, Type skillType)
Parameters
Type Name Description
User user
System.Type skillType

LevelUpAll(User)

Declaration
[ChatSubCommand]
public static void LevelUpAll(User user)
Parameters
Type Name Description
User user

Rate(User, Single)

Declaration
[ChatSubCommand]
public static void Rate(User user, float skillRate = -1F)
Parameters
Type Name Description
User user
System.Single skillRate

RemoveLevelFrom(User, User, Int32)

Declaration
[ChatSubCommand]
public static void RemoveLevelFrom(User user, User targetUser = null, int stars = 1)
Parameters
Type Name Description
User user
User targetUser
System.Int32 stars

RemovePointsFrom(User, User, Int32)

Declaration
[ChatSubCommand]
public static void RemovePointsFrom(User user, User targetUser = null, int stars = 1)
Parameters
Type Name Description
User user
User targetUser
System.Int32 stars

RemoveSpecialty(User, String, User)

Declaration
[ChatSubCommand]
public static void RemoveSpecialty(User user, string specialtyName, User targetUser = null)
Parameters
Type Name Description
User user
System.String specialtyName
User targetUser

RemoveTalent(User, User, String)

Declaration
[ChatSubCommand]
public static void RemoveTalent(User user, User targetUser, string talentName)
Parameters
Type Name Description
User user
User targetUser
System.String talentName

Reset(User, User, String)

Declaration
[ChatSubCommand]
public static void Reset(User user, User targetUser, string skillName = "")
Parameters
Type Name Description
User user
User targetUser
System.String skillName

SkillTypeByName(User, String)

Find a skill type by any string

Declaration
public static Type SkillTypeByName(User user, string skillName)
Parameters
Type Name Description
User user
System.String skillName
Returns
Type Description
System.Type
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾