Table of Contents

Class ChatCommandScriptContext

Namespace
RisingV.Scripting.Commands
Assembly
RisingV.Scripting.dll
public sealed record ChatCommandScriptContext : ScriptContext<ChatCommandContext>, IScriptContext<ChatCommandContext>, IScriptContext, IEquatable<ScriptContext<ChatCommandContext>>, IEquatable<ChatCommandScriptContext>
Inheritance
ScriptContext<ChatCommandContext>
ChatCommandScriptContext
Implements
IScriptContext<ChatCommandContext>
IEquatable<ScriptContext<ChatCommandContext>>
Inherited Members
Extension Methods

Constructors

ChatCommandScriptContext(ChatCommandContext, Logger)

public ChatCommandScriptContext(ChatCommandContext Data, Logger Log)

Parameters

Data ChatCommandContext
Log Logger

Properties

CharEntity

public Entity CharEntity { get; }

Property Value

Entity

IsAdmin

public bool IsAdmin { get; }

Property Value

bool

Services

public IServiceProvider Services { get; }

Property Value

IServiceProvider

User

public User User { get; }

Property Value

User

Methods

Deconstruct(out ChatCommandContext, out User, out Entity, out bool, out IServiceProvider)

public void Deconstruct(out ChatCommandContext data, out User user, out Entity charEntity, out bool isAdmin, out IServiceProvider services)

Parameters

data ChatCommandContext
user User
charEntity Entity
isAdmin bool
services IServiceProvider