Class SendingCallEventArgs
Contains all information before SCP-049 Call is activated.
Inheritance
System.Object
SendingCallEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Scp049
Assembly: Exiled.Events.dll
Syntax
public class SendingCallEventArgs : IScp049Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceSendingCallEventArgs(Player, Boolean)
Initializes a new instance of the SendingCallEventArgs class.
Declaration
public SendingCallEventArgs(Player player, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceDuration
Gets or sets the duration of the Call Ability.
Declaration
public float Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
IsAllowed
Gets or sets a value indicating whether or not the server will send 049 information on the call.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who is controlling SCP-049.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Scp049
Declaration
public Scp049Role Scp049 { get; }
Property Value
Type | Description |
---|---|
Scp049Role |