Show / Hide Table of Contents

Class UserCommands

Inheritance
System.Object
UserCommands
Namespace: Eco.Gameplay.Systems.Messaging.Chat.Commands
Assembly: Eco.Gameplay.dll
Syntax
[ChatCommandHandler]
public static class UserCommands : Object

Methods

AuthLevel(User)

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

Calculate(IChatClient, String)

Declaration
[ChatSubCommand]
public static void Calculate(IChatClient chatClient, string expression)
Parameters
Type Name Description
IChatClient chatClient
System.String expression

Invisible(User)

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

Now(IChatClient)

Declaration
[ChatSubCommand("Time", "Reports the current time.")]
public static void Now(IChatClient chatClient)
Parameters
Type Name Description
IChatClient chatClient

Players(IChatClient)

Declaration
[ChatSubCommand("Manage", "Returns a list of online players")]
public static void Players(IChatClient chatClient)
Parameters
Type Name Description
IChatClient chatClient

Playtime(User, User)

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

Residence(User, User)

Declaration
[ChatCommand("Reports residency for a given user, or yourself if none passed")]
public static void Residence(User user, User other = null)
Parameters
Type Name Description
User user
User other

Unstuck(User)

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

UnstuckVehicle(User, INetObject)

Declaration
[ChatSubCommand]
public static void UnstuckVehicle(User user, INetObject target)
Parameters
Type Name Description
User user
INetObject target
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾