Shared.Entity.Components.GeneralComponent
Type JSONpublic struct in Shared.Entity.Components
Type metadata
- Assembly
Shared - Namespace
Shared.Entity.Components - Base type
System.ValueType - Hash
1D3DAB39029D525B1C87E10B9B065B47E33EDFD366AE27E74F02F262BEE6CEB6
Relationships
Base type
System.ValueType
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
Acceleration# | public | public Microsoft.Xna.Framework.Vector3 Acceleration |
AccelerationScale# | public | public System.Single AccelerationScale |
AirFriction# | public | public System.Double AirFriction |
Auras# | public | public System.Collections.Generic.List<Shared.Aura.AbstractAura<Shared.Entity.EntityWrapper>> Auras |
BaseGuid# | public | public System.Guid BaseGuid |
Color# | public | public Microsoft.Xna.Framework.Color Color |
DepthOffset# | public | public System.Single DepthOffset |
Direction# | public | public System.Single Direction |
DistanceWalked# | public | public System.Single DistanceWalked |
DrawWithNoise# | public | public System.Boolean DrawWithNoise |
Dt# | public | public System.Double Dt |
EntityMesh# | public | public CandideCreator.Shared.Models.IndexedMesh EntityMesh |
ExtraVelocity# | public | public Microsoft.Xna.Framework.Vector3 ExtraVelocity |
Fdt# | public | public System.Single Fdt |
FlashColor# | public | public Microsoft.Xna.Framework.Vector4 FlashColor |
FloorHeight# | public | public System.Single FloorHeight |
FloorHeightCheckTimer# | public | public System.Single FloorHeightCheckTimer |
Frame# | public | public System.Int32 Frame |
Friction# | public | public System.Double Friction |
GravityScale# | public | public System.Single GravityScale |
HasFull3DMesh# | public | public System.Boolean HasFull3DMesh |
HasNoShadow# | public | public System.Boolean HasNoShadow |
Highlight# | public | public System.Single Highlight |
Id# | public | public System.Guid Id |
Immovable# | public | public System.Boolean Immovable |
IncId# | public | public System.Int32 IncId |
IsAllowedInPits# | public | public System.Boolean IsAllowedInPits |
Material# | public | public Shared.Entity.Components.Material Material |
MeshOffset# | public | public Microsoft.Xna.Framework.Vector3 MeshOffset |
Name# | public | public System.String Name |
OldPosition2# | public | public Microsoft.Xna.Framework.Vector2 OldPosition2 |
Position# | public | public Microsoft.Xna.Framework.Vector3 Position |
Render3D# | public | public System.Boolean Render3D |
RotateSprite# | public | public System.Boolean RotateSprite |
ShadowSpriteSheet# | public | public CandideCreator.Shared.Graphics.SpriteSheet ShadowSpriteSheet |
SortOffset# | public | public System.Single SortOffset |
SpriteSheet# | public | public CandideCreator.Shared.Graphics.SpriteSheet SpriteSheet |
StandingOnEntityId# | public | public System.Int32 StandingOnEntityId |
StandingOnEntityIncId# | public | public System.Int32 StandingOnEntityIncId |
UpdatedExtraVelocity# | public | public System.Boolean UpdatedExtraVelocity |
UsePositionBasedUvs# | public | public System.Boolean UsePositionBasedUvs |
UsesSpac# | public | public System.Boolean UsesSpac |
Velocity# | public | public Microsoft.Xna.Framework.Vector3 Velocity |
Visible# | public | public System.Boolean Visible |
Wrapper# | public | public Shared.Entity.EntityWrapper Wrapper |
Properties
| Name | Visibility | Signature |
|---|---|---|
HeightFromFloor# | public | public System.Single HeightFromFloor |
Methods
Accelerate
#
public System.Void Accelerate(Microsoft.Xna.Framework.Vector2 delta)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
2390B74E91F4AB58BD7AC77C1DCBAE969D4AB02AAFAFCE6BA156F451EF0AB820 - Body hash
BE919E18C6AA610FF9D29EA55BDAF9BBED3B8139262BA0BC86918DFA5A6FB36A - IL size78
Referenced calls
Microsoft.Xna.Framework.Vector3::LengthSquared()System.MathF::Sqrt(System.Single)Microsoft.Xna.Framework.Vector3::op_Division(Microsoft.Xna.Framework.Vector3, System.Single)
Called by
BM.OffThreadPathFind::UpdateBM.PathFind::UpdateCandideServer.Entities.CommonTasks.PathFindTask::UpdateCandide.Entities.Controllers.Legacy.BanditBruteController::StartThrowCandide.Entities.Controllers.Legacy.BanditBruteController::UpdateCandide.Entities.Controllers.Legacy.BanditController::UpdateCandide.Entities.Controllers.Legacy.FishController::UpdateCandide.Entities.Controllers.Legacy.RangedControllerStates.RangedControllerStates.RangedAggroedState::UpdateCandide.Entities.Controllers.Legacy.RangedControllerStates.RangedControllerStates.RangedBackingState::UpdateCandide.Entities.PlayerState.PlayerStates.BowSecondaryState::OnEnterCandide.Entities.PlayerState.PlayerStates.BowShootingState::OnEnterCandide.Entities.PlayerState.PlayerStates.JavelinThrowState::OnEnterCandide.Entities.PlayerState.PlayerStates.ShootingState::OnEnterCandide.Entities.PlayerState.PlayerStates.SpellTomeHoldingState::OnEnterCandide.Entities.PlayerState.PlayerStates.SpellTomeState::OnEnterShared.Entity.EntityWrapper::Accelerate
Accelerate
#
public System.Void Accelerate(Microsoft.Xna.Framework.Vector2 direction, System.Single scale)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
C7A854B9486677D6949BC4EB81535BEBA4085ADF0FFB19C23837DAB431FAD3FD - Body hash
D18CAE13220C8FADF172A6A7ABCF96E916BCE7079BB74C0C69061269FE300B5E - IL size93
Referenced calls
Microsoft.Xna.Framework.Vector2::get_Zero()Microsoft.Xna.Framework.Vector2::op_Equality(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Normalize()
ApplyFriction
#
public System.Void ApplyFriction()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
2975F5821B1A6776E91BFCE13BAA9D7889BB59D782C47B600D7F45E14F0C70DF - Body hash
5BD356D6986D6BD9854289E4133D875B0E118DEF7779A3B473D8D9A79CC1C57A - IL size85
Referenced calls
Shared.Entity.Components.GeneralComponent::get_HeightFromFloor()System.Math::Pow(System.Double, System.Double)
DisposeAuras
#
public System.Void DisposeAuras(System.Nullable<Shared.Entity.EntityRemoveInfo> removeInfo)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
8D4E39BEEB4EDE87E25556F7172E9F2C05E32D538D9ADB989CE00C5FA4AAD8AF - Body hash
A46796705ED03602BC9BBAC2523DD31A3C799CAB25CE27AA0E0004F75058191F - IL size182
Referenced calls
System.Nullable<Shared.Entity.EntityRemoveInfo>::get_HasValue()System.Nullable<Shared.Entity.EntityRemoveInfo>::GetValueOrDefault()System.Collections.Generic.List<Shared.Aura.AbstractAura<Shared.Entity.EntityWrapper>>::GetEnumerator()List.Enumerator<Shared.Aura.AbstractAura<Shared.Entity.EntityWrapper>>::get_Current()Shared.Aura.AbstractAura<Shared.Entity.EntityWrapper>::OnAuraEntityRemoved(T, Shared.Entity.EntityRemoveType)Shared.Aura.AbstractAura<Shared.Entity.EntityWrapper>::RemoveEffect(T)Shared.Aura.AbstractAura<Shared.Entity.EntityWrapper>::Dispose()List.Enumerator<Shared.Aura.AbstractAura<Shared.Entity.EntityWrapper>>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.List<Shared.Aura.AbstractAura<Shared.Entity.EntityWrapper>>::Clear()
GetNextPosition
#
public Microsoft.Xna.Framework.Vector2 GetNextPosition()
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector2 - StaticFalse
- VirtualFalse
- Hash
968C27454C61D37E7535851F70C2C42A428001D9BE0593D13ADF421D6A8F22D9 - Body hash
6155A340060EE549E8C5134759DDB6098B47BBA8F6CA2C16120D7BF5035946C7 - IL size90
Referenced calls
Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)
GetNextPosition
#
public Microsoft.Xna.Framework.Vector2 GetNextPosition(Microsoft.Xna.Framework.Vector2 position)
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector2 - StaticFalse
- VirtualFalse
- Hash
7F9ECDCF886E241692AB23F5F998C01359F306BD323C55829312B78DCEE17A16 - Body hash
C8316979D03F75C471731FFAE97A32E0ACC82231FA595691A1D21CCE5B719C97 - IL size80
Referenced calls
Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)
GetNextPosition
#
public Microsoft.Xna.Framework.Vector2 GetNextPosition(Microsoft.Xna.Framework.Vector3 velocity)
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector2 - StaticFalse
- VirtualFalse
- Hash
3F1A165CC231E6D1670C66990C77AD88FC1C71D773F56F313725F21B8900753B - Body hash
4B2BB056916A6507624ACEBB9D1DD7B3FA9B168481C480895B7858428BC9E0B7 - IL size56
Referenced calls
Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)
GetRotatedFrame
#
public System.Int32 GetRotatedFrame()
Method metadata
- Visibilitypublic
- Return type
System.Int32 - StaticFalse
- VirtualFalse
- Hash
57BCE338C94F129D435ECFB8550FF23EB4A5DAA2611D265EB617C4D4CB102C4A - Body hash
24BB14DD0BBA838EF24F6DCCE10D8BD7A8A26F86FF808B3991DF2AD3A0C79141 - IL size35
Referenced calls
GetUvFrame
#
public Microsoft.Xna.Framework.Vector4 GetUvFrame()
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector4 - StaticFalse
- VirtualFalse
- Hash
A3B4C8568125AA8E7BE0185AF835771500F4794BA47905FDEED55771BADA71C4 - Body hash
CFCA7CDD34A64BFBC269528DF2D552577BD6CF3B7C666780D9C0FBD6A7E37104 - IL size24
ToString
#
public System.String ToString()
Method metadata
- Visibilitypublic
- Return type
System.String - StaticFalse
- VirtualTrue
- Hash
1879B344076B32523ADF777FD7685300CEC4CF02C6259A1207D32F927D6FE053 - Body hash
D9031D18D6FD091679F37D98D1CBFE7733B72D1996C73A634FF0B53ACBEA0919 - IL size81
Referenced calls
System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
String literals
- Position:- Id:
Update
#
public System.Void Update()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
12103960883473737114F961599807F66E50256B56448A348EF07BA7BA6DC714 - Body hash
C4B4DC381FDFAAF7CB0D0BFB035BC6BD6DCDFA12102ECAF52DD96E45E7E4D56B - IL size34
Referenced calls
Microsoft.Xna.Framework.Vector3::get_Zero()Shared.Entity.Components.GeneralComponent::ApplyFriction()