Class ChatCommandScriptContext
public sealed record ChatCommandScriptContext : ScriptContext<ChatCommandContext>, IScriptContext<ChatCommandContext>, IScriptContext, IEquatable<ScriptContext<ChatCommandContext>>, IEquatable<ChatCommandScriptContext>
- Inheritance
-
ScriptContext<ChatCommandContext>ChatCommandScriptContext
- Implements
-
IScriptContext<ChatCommandContext>
- Inherited Members
- Extension Methods
Constructors
ChatCommandScriptContext(ChatCommandContext, Logger)
public ChatCommandScriptContext(ChatCommandContext Data, Logger Log)
Parameters
Data
ChatCommandContextLog
Logger
Properties
CharEntity
public Entity CharEntity { get; }
Property Value
- Entity
IsAdmin
public bool IsAdmin { get; }
Property Value
Services
public IServiceProvider Services { get; }
Property Value
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
ChatCommandContextuser
UsercharEntity
EntityisAdmin
boolservices
IServiceProvider