Candide.Entities.Controllers.Other.VariableTextureControllerBase
Type JSONpublic class in Candide.Entities.Controllers.Other
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Other - Base type
Shared.Entity.Base.AbstractController - Hash
D75B57B54B55F65DF99A25B25BF029AC651CF3DFDFB42A816AA8076EBC61C446
Relationships
Base type
Derived types
Candide.Entities.Controllers.Legacy.TreeControllerCandide.Entities.Controllers.Other.BushControllerCandide.Entities.Controllers.Other.FruitTreeControllerCandide.Entities.Controllers.Other.SkinnyTreeControllerCandide.Entities.Controllers.Other.VariableTextureControllerCandide.Entities.Controllers.Other.Veins.VeinController
Referenced by types
Candide.Entities.Controllers.Legacy.TreeControllerCandide.Entities.Controllers.Other.BushControllerCandide.Entities.Controllers.Other.FruitTreeControllerCandide.Entities.Controllers.Other.SkinnyTreeControllerCandide.Entities.Controllers.Other.VariableTextureControllerCandide.Entities.Controllers.Other.Veins.VeinController
Methods
CheckCondition
#
private System.Boolean CheckCondition(System.ReadOnlySpan<System.Char> condition)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
8EAF2D94718E0E3F447E66E14661D0B2D2640474F3C7070A662C095E76EB3F54 - Body hash
E18A7A8FAF993EE0988032DB5EA05D8A948C6A1BD396F1FF2EABA2C5E6F8DB2D - IL size1770
Referenced calls
System.MemoryExtensions::AsSpan(System.String)System.MemoryExtensions::SequenceEqual(System.ReadOnlySpan<!!0>, System.ReadOnlySpan<!!0>)System.ReadOnlySpan<System.Char>::get_Length()System.ReadOnlySpan<System.Char>::get_Item(System.Int32)Candide.GameModels.Helpers.ClientWorldTileHelper::GetEntityWorldTile(Shared.Models.WorldTile[,], Shared.Entity.EntityWrapper)System.Nullable<Shared.Models.WorldTile>::get_HasValue()System.Nullable<Shared.Models.WorldTile>::GetValueOrDefault()Candide.GameModels.Helpers.ClientWorldTileHelper::GetEntityBiomeId(System.String[,], Shared.Entity.EntityWrapper)System.String::op_Equality(System.String, System.String)
String literals
defaultcopydry_grassdry_tall_grassany_dry_grassdesert_dry_grassgrassshort_grassgreen_grassburnt_grassdesert_edgetall_grasslow_basaltdry_plainssandbasalt
GetMesh
#
public System.Nullable<BaseDoodad.ExtraMesh> GetMesh(System.String key, CandideCreator.Shared.Graphics.SpriteSheet spriteSheet, System.Int32 frame)
Method metadata
- Visibilitypublic
- Return type
System.Nullable<BaseDoodad.ExtraMesh> - StaticFalse
- VirtualFalse
- Hash
C9DE7C01993F5753D9CF717457D04596D3D0EEE7100BB983A87FAC79E00F2077 - Body hash
EE0A4D883E4B1C180813063F7050763F7C28048CE557FD4AEB5342778AD59BDC - IL size1352
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetStringNullIfEmpty(System.String, System.String)Shared.Entity.EntityWrapper::get_BaseGuid()System.Collections.Generic.Dictionary<System.Guid, CandideCreator.Shared.Models.BaseDoodad>::TryGetValue(!0, !1&)System.Collections.Generic.Dictionary<System.String, BaseDoodad.ExtraMesh>::get_Count()CandideCreator.Shared.Helpers.Parameters::GetBool(System.String, System.Boolean)Shared.Entity.EntityWrapper::get_SpriteSheet()Shared.Entity.EntityWrapper::get_Frame()System.MemoryExtensions::AsSpan(System.String)System.Span<System.Range>::.ctor(System.Void*, System.Int32)System.MemoryExtensions::Split(System.ReadOnlySpan<System.Char>, System.Span<System.Range>, System.Char, System.StringSplitOptions)System.Span<System.Range>::get_Item(System.Int32)System.ReadOnlySpan<System.Char>::get_Length()System.Range::get_Start()System.Index::GetOffset(System.Int32)System.Range::get_End()System.ReadOnlySpan<System.Char>::Slice(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.ReadOnlySpan<System.Char>)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)System.MemoryExtensions::SequenceEqual(System.ReadOnlySpan<!!0>, System.ReadOnlySpan<!!0>)System.MemoryExtensions::IndexOf(System.ReadOnlySpan<!!0>, !!0)System.Globalization.CultureInfo::get_InvariantCulture()System.Int32::TryParse(System.ReadOnlySpan<System.Char>, System.Globalization.NumberStyles, System.IFormatProvider, System.Int32&)System.Object::ToString()System.Collections.Generic.Dictionary<System.String, BaseDoodad.ExtraMesh>::TryGetValue(!0, !1&)System.Nullable<BaseDoodad.ExtraMesh>::.ctor(!0)
String literals
index_by_rowFailed to understand mesh line ''Failed to understand mesh conditions 'defaultFailed to understand mesh condition min number 'Failed to understand mesh condition max number 'Failed to understand mesh condition 'Failed to understand mesh indices '
GetParticle
#
public Candide.Data.DebrisParticleData GetParticle(System.String key, CandideCreator.Shared.Graphics.SpriteSheet spriteSheet, System.Int32 frame, CandideCreator.Shared.Helpers.Parameters parameters)
Method metadata
- Visibilitypublic
- Return type
Candide.Data.DebrisParticleData - StaticFalse
- VirtualFalse
- Hash
DEAC2F857BD1562DBFDEB9356862DA55CBF75F01E5CA25054DC6752CAAE4695F - Body hash
DEE40DC506092F869DD7648D40ADE64A8E3FF4D130729BA7C7DFA3C752F4ACDF - IL size1755
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetStringNullIfEmpty(System.String, System.String)CandideCreator.Shared.Helpers.Parameters::GetBool(System.String, System.Boolean)Shared.Entity.EntityWrapper::get_SpriteSheet()Shared.Entity.EntityWrapper::get_Frame()System.MemoryExtensions::AsSpan(System.String)System.Span<System.Range>::.ctor(System.Void*, System.Int32)System.MemoryExtensions::Split(System.ReadOnlySpan<System.Char>, System.Span<System.Range>, System.Char, System.StringSplitOptions)System.Span<System.Range>::get_Item(System.Int32)System.ReadOnlySpan<System.Char>::get_Length()System.Range::get_Start()System.Index::GetOffset(System.Int32)System.Range::get_End()System.ReadOnlySpan<System.Char>::Slice(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.ReadOnlySpan<System.Char>)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)System.MemoryExtensions::Trim(System.ReadOnlySpan<System.Char>)System.MemoryExtensions::SequenceEqual(System.ReadOnlySpan<!!0>, System.ReadOnlySpan<!!0>)System.Guid::TryParse(System.ReadOnlySpan<System.Char>, System.Guid&)System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntitySystem>::TryGetValue(!0, !1&)Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Candide.Entities.Controllers.Other.VariableTextureControllerBase::GetParticle(System.String, CandideCreator.Shared.Graphics.SpriteSheet, System.Int32, CandideCreator.Shared.Helpers.Parameters)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.MemoryExtensions::IndexOf(System.ReadOnlySpan<!!0>, !!0)System.Globalization.CultureInfo::get_InvariantCulture()System.Int32::TryParse(System.ReadOnlySpan<System.Char>, System.Globalization.NumberStyles, System.IFormatProvider, System.Int32&)System.Random::Next()System.Object::ToString()System.Collections.Generic.Dictionary<System.String, Candide.Data.DebrisParticleData>::TryGetValue(!0, !1&)
Called by
Candide.Entities.Controllers.Legacy.TreeController::SpawnFallingLeafParticlesCandide.Entities.Controllers.Other.FruitTreeController::SpawnFallingLeafParticlesCandide.Entities.Controllers.Other.VariableTextureControllerBase::GetParticleCandide.Entities.Controllers.Other.Veins.VeinController::SpawnParticles
String literals
index_by_rowFailed to understand particle line ''copyVariable texture particle copy target entity '' does not have a controllerFailed to find variable texture particle copy target entity 'Failed to parse variable texture particle copy id 'Failed to understand particle conditions 'defaultFailed to understand particle condition min number 'Failed to understand particle condition max number 'Failed to understand particle condition 'Failed to understand particle indices 'Failed to understand particle percentage number '
GetVariableTexture
#
public System.ValueTuple<CandideCreator.Shared.Graphics.SpriteSheet, System.Int32> GetVariableTexture(System.String key, CandideCreator.Shared.Helpers.Parameters parameters)
Method metadata
- Visibilitypublic
- Return type
System.ValueTuple<CandideCreator.Shared.Graphics.SpriteSheet, System.Int32> - StaticFalse
- VirtualFalse
- Hash
662514A907FA770BCDB02941B392D10C1C57D4A7AFAF82C2AA29C9942DCFD617 - Body hash
967EACDAA1F2B2E7DBE348BFECC262FA09E1F9D672174CD3D40232196A8587C7 - IL size1604
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetStringNullIfEmpty(System.String, System.String)Shared.Entity.EntityWrapper::get_SpriteSheet()Shared.Entity.EntityWrapper::get_Frame()System.ValueTuple<CandideCreator.Shared.Graphics.SpriteSheet, System.Int32>::.ctor(!0, !1)System.MemoryExtensions::AsSpan(System.String)System.Span<System.Range>::.ctor(System.Void*, System.Int32)System.MemoryExtensions::Split(System.ReadOnlySpan<System.Char>, System.Span<System.Range>, System.Char, System.StringSplitOptions)System.Span<System.Range>::get_Item(System.Int32)System.ReadOnlySpan<System.Char>::get_Length()System.Range::get_Start()System.Index::GetOffset(System.Int32)System.Range::get_End()System.ReadOnlySpan<System.Char>::Slice(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.ReadOnlySpan<System.Char>)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)System.MemoryExtensions::Trim(System.ReadOnlySpan<System.Char>)Candide.Entities.Controllers.Other.VariableTextureControllerBase::CheckCondition(System.ReadOnlySpan<System.Char>)System.MemoryExtensions::SequenceEqual(System.ReadOnlySpan<!!0>, System.ReadOnlySpan<!!0>)System.Guid::TryParse(System.ReadOnlySpan<System.Char>, System.Guid&)System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntitySystem>::TryGetValue(!0, !1&)Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Candide.Entities.Controllers.Other.VariableTextureControllerBase::GetVariableTexture(System.String, CandideCreator.Shared.Helpers.Parameters)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)Shared.Entity.EntityWrapper::get_Id()System.Object::GetHashCode()CandideCreator.Shared.Helpers.TileRandom::RandomPositiveInt(System.Int32, System.Int32)System.MemoryExtensions::IndexOf(System.ReadOnlySpan<!!0>, !!0)System.Globalization.CultureInfo::get_InvariantCulture()System.Int32::TryParse(System.ReadOnlySpan<System.Char>, System.Globalization.NumberStyles, System.IFormatProvider, System.Int32&)
Called by
Candide.Entities.Controllers.Legacy.TreeController::EntityInitializeCandide.Entities.Controllers.Other.SkinnyTreeController::OnKilledCandide.Entities.Controllers.Other.VariableTextureControllerBase::GetVariableTextureCandide.Entities.Controllers.Other.VariableTextureControllerBase::SetVariableTexture
String literals
Failed to understand texture line ''Failed to understand conditions 'copyVariable texture copy target entity '' does not have a controllerFailed to find variable texture copy target entity 'Failed to parse variable texture copy id 'Failed to understand indices 'Failed to understand min number 'Failed to understand max number 'Failed to understand index number 'index_by_row
SetVariableMesh
#
public System.Void SetVariableMesh()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
2EA147D660C19A2556B67242268948B7AD1DEBDEBB82FFA002AF033DD7B65819 - Body hash
6C89240E00520C4B5E17B471400681992F4155079C4CD41D4D52765471EA2D6E - IL size80
Referenced calls
Candide.Entities.Controllers.Other.VariableTextureControllerBase::GetMesh(System.String, CandideCreator.Shared.Graphics.SpriteSheet, System.Int32)System.Nullable<BaseDoodad.ExtraMesh>::get_HasValue()System.Nullable<BaseDoodad.ExtraMesh>::GetValueOrDefault()CandideCreator.Shared.Models.IndexedMesh::ConvertToTbnTexture()Shared.Entity.EntityWrapper::set_EntityMesh(CandideCreator.Shared.Models.IndexedMesh)Shared.Entity.EntityWrapper::set_UsePositionBasedUvs(System.Boolean)
String literals
mesh
SetVariableTexture
#
public System.Void SetVariableTexture(System.String key)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
32886F496C1E41964FF370DB89F60C2B482CD81DB062EDE94DB86C9DFDA3710D - Body hash
B4FFC6374109DCD803BDC67233EDB6638508E92CFE5806D6BCFD952AD035BDC7 - IL size77
Referenced calls
CandideCreator.Shared.Helpers.Parameters::TryGetInt(System.String, System.Int32&)Shared.Entity.EntityWrapper::set_Frame(System.Int32)Candide.Entities.Controllers.Other.VariableTextureControllerBase::GetVariableTexture(System.String, CandideCreator.Shared.Helpers.Parameters)Shared.Entity.EntityWrapper::set_SpriteSheet(CandideCreator.Shared.Graphics.SpriteSheet)
Called by
Candide.Entities.Controllers.Legacy.TreeController::EntityInitializeCandide.Entities.Controllers.Other.BushController::EntityInitializeCandide.Entities.Controllers.Other.FruitTreeController::EntityInitializeCandide.Entities.Controllers.Other.SkinnyTreeController::EntityInitializeCandide.Entities.Controllers.Other.VariableTextureController::EntityInitializeCandide.Entities.Controllers.Other.Veins.VeinController::EntityInitialize
String literals
override_frame
SpawnParticles
#
public System.Void SpawnParticles(Microsoft.Xna.Framework.Vector3 position, System.Single velocityLengthMin, System.Single velocityLengthMax, System.Int32 amount, System.Single yMin, System.Single yMax, Microsoft.Xna.Framework.Vector3 baseVelocity, CandideCreator.Shared.Graphics.SpriteSheet spriteSheet, System.Int32 frame, CandideCreator.Shared.Helpers.Parameters parameters)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
A44CD028852AF5102BB8D139D2386CDF5C7E00CEA322051EE2BCE8B1B151261D - Body hash
FAC57263CADDB883D7A4EA73AF67E370D184D16CF42A78F99858F6EFA2F37307 - IL size81
Referenced calls
Shared.Entity.EntityWrapper::get_SpriteSheet()Shared.Entity.EntityWrapper::get_Frame()Candide.Entities.Controllers.Other.VariableTextureControllerBase::SpawnParticlesBase(CandideCreator.Shared.Graphics.SpriteSheet, System.Int32, CandideCreator.Shared.Helpers.Parameters, Microsoft.Xna.Framework.Vector3, System.Single, System.Single, System.Int32, System.Single, System.Single, Microsoft.Xna.Framework.Vector3, System.Single, System.Single)
Called by
Candide.Entities.Controllers.Legacy.TreeController::OnKilledCandide.Entities.Controllers.Other.BushController::SpawnParticlesCandide.Entities.Controllers.Other.BushLiftableController::OnDamagedCandide.Entities.Controllers.Other.BushLiftableController::OnPickingUpCandide.Entities.Controllers.Other.BushLiftableController::OnRemoveCandide.Entities.Controllers.Other.FruitTreeController::OnKilledCandide.Entities.Controllers.Other.SkinnyTreeController::SpawnParticlesCandide.Entities.Controllers.Other.VariableTextureController::SpawnParticlesCandide.Entities.Controllers.Other.Veins.VeinController::SpawnParticles
SpawnParticlesBase
#
public System.Void SpawnParticlesBase(CandideCreator.Shared.Graphics.SpriteSheet spriteSheet, System.Int32 frame, CandideCreator.Shared.Helpers.Parameters parameters, Microsoft.Xna.Framework.Vector3 position, System.Single velocityLengthMin, System.Single velocityLengthMax, System.Int32 amount, System.Single yMin, System.Single yMax, Microsoft.Xna.Framework.Vector3 baseVelocity, System.Single zVelocityMin, System.Single zVelocityMax)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
817FB896CFF849D5E86BE92EA741C17493C7D49D5646332991B560976E0B48FB - Body hash
F383BC722418AAB89B5CFB1D4B0A89053CA6B17F50E886F5A6B1FFAE2A72C08D - IL size1884
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetStringNullIfEmpty(System.String, System.String)CandideCreator.Shared.Helpers.Parameters::GetBool(System.String, System.Boolean)System.MemoryExtensions::AsSpan(System.String)System.Span<System.Range>::.ctor(System.Void*, System.Int32)System.MemoryExtensions::Split(System.ReadOnlySpan<System.Char>, System.Span<System.Range>, System.Char, System.StringSplitOptions)System.Span<System.Range>::get_Item(System.Int32)System.ReadOnlySpan<System.Char>::get_Length()System.Range::get_Start()System.Index::GetOffset(System.Int32)System.Range::get_End()System.ReadOnlySpan<System.Char>::Slice(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.ReadOnlySpan<System.Char>)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)System.MemoryExtensions::Trim(System.ReadOnlySpan<System.Char>)System.MemoryExtensions::SequenceEqual(System.ReadOnlySpan<!!0>, System.ReadOnlySpan<!!0>)System.Guid::TryParse(System.ReadOnlySpan<System.Char>, System.Guid&)System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntitySystem>::TryGetValue(!0, !1&)Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Candide.Entities.Controllers.Other.VariableTextureControllerBase::SpawnParticlesBase(CandideCreator.Shared.Graphics.SpriteSheet, System.Int32, CandideCreator.Shared.Helpers.Parameters, Microsoft.Xna.Framework.Vector3, System.Single, System.Single, System.Int32, System.Single, System.Single, Microsoft.Xna.Framework.Vector3, System.Single, System.Single)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.MemoryExtensions::IndexOf(System.ReadOnlySpan<!!0>, !!0)System.Globalization.CultureInfo::get_InvariantCulture()System.Int32::TryParse(System.ReadOnlySpan<System.Char>, System.Globalization.NumberStyles, System.IFormatProvider, System.Int32&)System.Object::ToString()Candide.Database.DebrisParticleDataBase::GetDebrisDrawable(System.String)System.Random::Next()Candide.Data.DebrisParticleFrames::Next(System.Random)CandideCreator.Shared.Helpers.RandomHelper::NextVector3(System.Random)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)
Called by
Candide.Entities.Controllers.AutoBallistaController.AutoBallistaControllerBase::SpawnParticlesCandide.Entities.Controllers.Other.Buildings.BuildingDayNightController::SpawnParticlesCandide.Entities.Controllers.Other.PotController::DieCandide.Entities.Controllers.Other.VariableTextureControllerBase::SpawnParticlesCandide.Entities.Controllers.Other.VariableTextureControllerBase::SpawnParticlesBase
String literals
particleindex_by_rowFailed to understand particle line ''copyVariable texture particle copy target entity '' does not have a controllerFailed to find variable texture particle copy target entity 'Failed to parse variable texture particle copy id 'Failed to understand particle conditions 'defaultFailed to understand particle condition min number 'Failed to understand particle condition max number 'Failed to understand particle condition 'Failed to understand particle indices 'Failed to understand particle percentage number '