Romestead Assembly Reference

Candide.Entities.PlayerState.PlayerStateMachine

Type JSON

public class in Candide.Entities.PlayerState

Methods4
Properties3
Fields1
Events0
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.Entities.PlayerState
  • Base typeSystem.Object
  • Hash5DE78C9EB23B568F432301470C1B273E8509D76737F1E00ADCF30120901EC709

Relationships

Fields

NameVisibilitySignature
_statesprivateprivate System.Collections.Generic.Dictionary<System.String, Candide.Entities.PlayerState.PlayerState> _states

Properties

NameVisibilitySignature
CurrentStatepublicpublic Candide.Entities.PlayerState.PlayerState CurrentState
CurrentStateNamepublicpublic System.String CurrentStateName
PreviousStateNamepublicpublic System.String PreviousStateName

Methods

AddState

public System.Void AddState(Candide.Entities.PlayerState.PlayerState state)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash504C13AE8F368304DBEB7BD010D3C8023D532A801BE19B094BC6FA25B516D4A4
  • Body hash85561A840B48DCE5BFE499B71DCD685EB4659E38E9A17AD0070F7FAB2454B6A9
  • IL size24
Referenced calls
  • System.Object::GetType()
  • System.Reflection.MemberInfo::get_Name()
  • System.Collections.Generic.Dictionary<System.String, Candide.Entities.PlayerState.PlayerState>::Add(!0, !1)
Called by

GetAndSetState

public T GetAndSetState<T>()

Method metadata
  • Visibilitypublic
  • Return typeT
  • StaticFalse
  • VirtualFalse
  • HashD28B3F61F6488CE93DD95B8DAC08CB1043039793EF7E87A2B5621F5B29B9F23A
  • Body hash52C61BFE3DDE599DE7A407A7B86799103F2DDC440C7EA2AB83A09263A16451B5
  • IL size84
Referenced calls
  • System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
  • System.Reflection.MemberInfo::get_Name()
  • System.Collections.Generic.Dictionary<System.String, Candide.Entities.PlayerState.PlayerState>::get_Item(!0)
  • Candide.Entities.PlayerState.PlayerStateMachine::get_CurrentStateName()
  • Candide.Entities.PlayerState.PlayerStateMachine::set_PreviousStateName(System.String)
  • Candide.Entities.PlayerState.PlayerStateMachine::get_CurrentState()
  • Candide.Entities.PlayerState.PlayerState::OnLeave()
  • Candide.Entities.PlayerState.PlayerStateMachine::set_CurrentState(Candide.Entities.PlayerState.PlayerState)
  • Candide.Entities.PlayerState.PlayerStateMachine::set_CurrentStateName(System.String)
  • Candide.Entities.PlayerState.PlayerState::OnEnter()

SetState

public System.Void SetState<T>()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash073F6E7BEB92DA896B2055BDFFE245AB716F39AA9EA4BB24D0814B1171A56530
  • Body hash50A51C4D9B6357D7253406A78E190FACE11F33D2AF798B9E027D39A8B4EF9D24
  • IL size78
Referenced calls
  • System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
  • System.Reflection.MemberInfo::get_Name()
  • System.Collections.Generic.Dictionary<System.String, Candide.Entities.PlayerState.PlayerState>::get_Item(!0)
  • Candide.Entities.PlayerState.PlayerStateMachine::get_CurrentStateName()
  • Candide.Entities.PlayerState.PlayerStateMachine::set_PreviousStateName(System.String)
  • Candide.Entities.PlayerState.PlayerStateMachine::get_CurrentState()
  • Candide.Entities.PlayerState.PlayerState::OnLeave()
  • Candide.Entities.PlayerState.PlayerStateMachine::set_CurrentState(Candide.Entities.PlayerState.PlayerState)
  • Candide.Entities.PlayerState.PlayerStateMachine::set_CurrentStateName(System.String)
  • Candide.Entities.PlayerState.PlayerState::OnEnter()

TrySetState

public System.Boolean TrySetState(System.String name)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash751672B7CAE29C29B44E8529B903220E7223DE6DAEB584B960C2694E4FA93705
  • Body hashEE0618A7FFE3DD19AC1508DCCC1303FB5AA957A50AD76FA47A2649BB17164DED
  • IL size82
Referenced calls
Called by