Candide.Entities.PlayerState.PlayerStates.ThrowingState
Type JSONinternal class in Candide.Entities.PlayerState.PlayerStates
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.PlayerState.PlayerStates - Base type
Candide.Entities.PlayerState.PlayerState - Hash
A3F6904F04704FE8F4DB37A98C97DA0360A02B63818C3375923A0DA94CB493CF
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
AimLine# | private | private CandideCreator.Shared.Collision.CollisionPolyLine AimLine |
AimLinePoints# | private | private Microsoft.Xna.Framework.Vector2[] AimLinePoints |
ReuseEntityWrappers# | private | private System.Collections.Generic.List<Shared.Entity.EntityWrapper> ReuseEntityWrappers |
_transitionNormal# | private | private Candide.Entities.PlayerState.PlayerTransition _transitionNormal |
Methods
CheckCanEnter
#
public System.Boolean CheckCanEnter()
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
DA3398A416699B634E7C650A005194F619927C1C8E97925045DEC60F92FCF136 - Body hash
EA4400C34BB4E8AA337B3FFAFCF66955BE71212AB1FEA79DB5B84A0F32F45A30 - IL size16
Referenced calls
Candide.Entities.PlayerState.PlayerState::get_Entity()Shared.Entity.EntityWrapper::get_CarriedEntity()
FindTarget
#
public System.Nullable<System.ValueTuple<Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, System.Single>> FindTarget(Microsoft.Xna.Framework.Vector3 position, System.Single direction, Shared.Entity.EntityWrapper carriedEntity)
Method metadata
- Visibilitypublic
- Return type
System.Nullable<System.ValueTuple<Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, System.Single>> - StaticFalse
- VirtualFalse
- Hash
04D694DEE5746A40DD39F8A8761EB825CCC9E925A89195CCF4CB6E60C0F58E1F - Body hash
26F56750BED5266594F98A2B21ED837F61B5961291490E6BCE74253D86F1DAE5 - IL size1460
Referenced calls
CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector2(System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToNormalDirection(Microsoft.Xna.Framework.Vector2&)CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)System.Math::Cos(System.Double)Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Length()System.Math::Min(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::get_Zero()Microsoft.Xna.Framework.Vector2::op_UnaryNegation(Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Collision.CollisionShape::UpdateCollisionBox()Shared.Entity.EntityWrapper::get_BaseGuid()System.Guid::op_Equality(System.Guid, System.Guid)Shared.Entity.EntityWrapper::get_ConstructionMaterials()Shared.Models.Construction.ConstructionMaterialsAggregate::get_IsEmpty()System.Collections.Generic.List<Shared.Entity.EntityWrapper>::Clear()Candide.Entities.PlayerState.PlayerState::get_Entity()CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Shared.Collision.CollisionSpecialGroup::GetEntitiesTouchingCollision(CandideCreator.Shared.Collision.CollisionShape, Microsoft.Xna.Framework.Vector2, System.Collections.Generic.List<Shared.Entity.EntityWrapper>)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::GetEnumerator()List.Enumerator<Shared.Entity.EntityWrapper>::get_Current()Shared.Entity.EntityWrapper::get_Id()Shared.Entity.EntityWrapper::get_CarriedId()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_Controller()Shared.Entity.EntityWrapper::get_CollisionGroupMask()CandideCreator.Shared.Collision.CollisionMasksExtension::HasFlags(CandideCreator.Shared.Collision.CollisionMasks, CandideCreator.Shared.Collision.CollisionMasks)
HelpAim
#
public System.Void HelpAim(Microsoft.Xna.Framework.Vector3 startPosition, Microsoft.Xna.Framework.Vector3& throwVelocity, Shared.Entity.EntityWrapper carriedEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
D3D447BD49D17F6C55A9991F24AB2511F350DB3876A16C6F6F38F4D66A30CE6E - Body hash
6729C9EF4753B38E7E9FDD3A167611539547DE3B0EC07BD597446D3434218F8C - IL size170
Referenced calls
Candide.Entities.PlayerState.PlayerState::get_Entity()Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::get_Direction()Candide.Entities.PlayerState.PlayerStates.ThrowingState::FindTarget(Microsoft.Xna.Framework.Vector3, System.Single, Shared.Entity.EntityWrapper)System.Nullable<System.ValueTuple<Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, System.Single>>::get_HasValue()System.Nullable<System.ValueTuple<Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, System.Single>>::get_Value()Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::Normalize(Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Helpers.VectorExtension::ToFloatDirection(Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::set_Direction(System.Single)CandideCreator.Shared.Helpers.ThrowHelper::CalculateThrow(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, System.Single, System.Single, System.Single, System.Single, System.Int32)
OnEnter
#
public System.Void OnEnter()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
BDA20CE13E4FC3A2FF8181FCD6143BC7CF9197F98D27F5EB46DB343249D57552 - Body hash
0A4F13033E50B88E55400D896AD85A4B2428E0F589916DC712EE4DC441EE6EB6 - IL size193
Referenced calls
Candide.Entities.PlayerState.PlayerState::get_Entity()Shared.Entity.EntityWrapper::set_Direction(System.Single)Shared.Entity.EntityWrapper::get_CarriedEntity()Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector2(System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToVector3Xyz(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Candide.Entities.PlayerState.PlayerStates.ThrowingState::HelpAim(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3&, Shared.Entity.EntityWrapper)Candide.Entities.PlayerState.PlayerController::TrySendThrowing(Shared.Entity.EntityWrapper, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)Candide.Entities.PlayerState.PlayerTransition::Invoke()Candide.Entities.PlayerState.PlayerAnimationController::OnThrowing()
String literals
Failed player throw
OnLeave
#
public System.Void OnLeave()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
DD99879F5F1B156315334A1654760AB419F100922A4775C724423D2B269FEEA0 - Body hash
C2E89718DEAB05D09E504A808890E037A6F7B4842253D175CBBD7F9527F7EB1F - IL size13
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
856C9AF838B70A01404EF57B8366B2325BAA710BF4642391935DA3D2327C112C - Body hash
7F40FA14DA9A8FBFDCBD228BF3D28D1C9BC29F6E74DCDDAC8DEE5ABDA2312009 - IL size13