Show / Hide Table of Contents

Class RPCAuthMaxProposableStateAttribute

Marks a RPC method for SimpleProposable as allowed only for states between MinState and MaxState. See RPCAuthorization.md for details.

Inheritance
System.Object
RPCAuthMaxProposableStateAttribute
Namespace: Eco.Gameplay.Civics.Misc
Assembly: Eco.Gameplay.dll
Syntax
public class RPCAuthMaxProposableStateAttribute : ExtraRPCAuthAttribute

Constructors

RPCAuthMaxProposableStateAttribute(ProposableState)

Declaration
public RPCAuthMaxProposableStateAttribute(ProposableState maxState)
Parameters
Type Name Description
ProposableState maxState

Fields

MaxState

Declaration
public readonly ProposableState MaxState
Field Value
Type Description
ProposableState

Properties

MinState

Declaration
public ProposableState MinState { get; set; }
Property Value
Type Description
ProposableState

Methods

IsAuthorized(Object, IWorldObserver, AccessType, Object[])

Declaration
public override bool IsAuthorized(object obj, IWorldObserver observer, AccessType requiredAccess, object[] args)
Parameters
Type Name Description
System.Object obj
IWorldObserver observer
AccessType requiredAccess
System.Object[] args
Returns
Type Description
System.Boolean

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾