Class RequestServerVerbsEvent
Inheritance
System.Object
RequestServerVerbsEvent
Assembly: Content.Shared.dll
Syntax
public sealed class RequestServerVerbsEvent : EntityEventArgs
Constructors
|
Improve this Doc
View Source
RequestServerVerbsEvent(NetEntity, IEnumerable<Type>, Nullable<NetEntity>, Boolean)
Declaration
public RequestServerVerbsEvent(NetEntity entityUid, IEnumerable<Type> verbTypes, NetEntity? slotOwner = null, bool adminRequest = false)
Parameters
Type |
Name |
Description |
NetEntity |
entityUid |
|
IEnumerable<Type> |
verbTypes |
|
System.Nullable<NetEntity> |
slotOwner |
|
System.Boolean |
adminRequest |
|
Fields
|
Improve this Doc
View Source
AdminRequest
Declaration
public readonly bool AdminRequest
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
EntityUid
Declaration
public readonly NetEntity EntityUid
Field Value
Type |
Description |
NetEntity |
|
|
Improve this Doc
View Source
SlotOwner
If the target item is inside of some storage (e.g., backpack), this is the entity that owns that item
slot. Needed for validating that the user can access the target item.
Declaration
public readonly NetEntity? SlotOwner
Field Value
Type |
Description |
System.Nullable<NetEntity> |
|
|
Improve this Doc
View Source
VerbTypes
Declaration
public readonly List<string> VerbTypes
Field Value
Type |
Description |
List<System.String> |
|