Gate

Namespace: uModAuth

Assembly: uMod.Core.dll

Inheritance ObjectBaseGate Gate

Implements IGate, IEnumerable<String>, IEnumerable

Constructors

Name

Summary

Gate (IPlugin)

Create a new instance the Gate class

Properties

Name

Summary

Plugin

Plugin associated with gate

Policies

List of policies

Methods

Name

Summary

All (IEnumerable<String>, IPlayer)

Determine if gate allows all of the specified policies

Allows (String, Object[])

Determine if the specified policy is allowed

Any (IEnumerable<String>, IPlayer)

Determine if gate allows any of the specified policies

Denies (String, Object[])

Determine if the specified policy is denied

Has (String)

Determine if gate supports specified permission

Register (String, Func<Boolean>)

Register policy by callback