OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class PermissionActorRoleEvent

Event that is triggered when a role is added to or removed from the actor

Inheritance
System.Object
EventBase
Event
PermissionActorRoleEvent
PermissionActorRoleAddedEvent
PermissionActorRoleRemovedEvent
Implements
IEvent
Inherited Members
Event.Arguments
EventBase.Name
EventBase.Data
Namespace: OpenMod.Core.Permissions.Events
Assembly: OpenMod.Core.dll
Syntax
public abstract class PermissionActorRoleEvent : Event, IEvent

Constructors

| Improve this Doc View Source

PermissionActorRoleEvent(IPermissionActor, String)

Declaration
public PermissionActorRoleEvent(IPermissionActor actor, string roleId)
Parameters
Type Name Description
IPermissionActor actor
System.String roleId

Properties

| Improve this Doc View Source

Actor

Declaration
public IPermissionActor Actor { get; }
Property Value
Type Description
IPermissionActor
| Improve this Doc View Source

RoleId

Declaration
public string RoleId { get; }
Property Value
Type Description
System.String

Implements

IEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)