Romestead Assembly Reference

Candide.Entities.Controllers.Legacy.GrassFieldController

Type JSON

public class in Candide.Entities.Controllers.Legacy

Methods16
Properties0
Fields18
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
ChangeBottompublicpublic System.Int32 ChangeBottom
ChangeLeftpublicpublic System.Int32 ChangeLeft
ChangeRightpublicpublic System.Int32 ChangeRight
ChangeToppublicpublic System.Int32 ChangeTop
EntityReuseListprivateprivate System.Collections.Generic.List<Shared.Entity.EntityWrapper> EntityReuseList
FieldAreapublicpublic Microsoft.Xna.Framework.Rectangle FieldArea
FieldHeightpublicpublic System.Single FieldHeight
GrassSpritepublicpublic CandideCreator.Shared.Graphics.SpriteSheet GrassSprite
HeightMappublicpublic System.Single[] HeightMap
HeightMapHasChangespublicpublic System.Boolean HeightMapHasChanges
SoundDictprivateprivate System.Collections.Generic.Dictionary<System.Guid, System.Single> SoundDict
StrawParticleEmitterpublicpublic Candide.Particles.ParticleEmitter StrawParticleEmitter
StrawPoolprivateprivate System.Collections.Generic.Queue<GrassFieldController.GrassFieldStraw> StrawPool
Strawspublicpublic System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, GrassFieldController.GrassFieldStraw> Straws
Texturepublicpublic Microsoft.Xna.Framework.Graphics.RenderTarget2D Texture
UpdateBufferpublicpublic System.Single[] UpdateBuffer
WindSwaypublicpublic Candide.GameModels.Systems.Weather.WindSway WindSway
_soundDictUpdatedThisFrameprivateprivate System.Boolean _soundDictUpdatedThisFrame

Methods

AddChanges

public System.Void AddChanges(Microsoft.Xna.Framework.Rectangle area)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashEEBD63D7C300FBB10EFF8692558C6B030EEFF5B5BCD048C827707AB19211174C
  • Body hashE2A8A322FF94AC89390AF3B3A0F1DF30DDCF41D13F4997D4023D95978AA42C3E
  • IL size166
Referenced calls
  • Microsoft.Xna.Framework.Rectangle::get_Left()
  • Microsoft.Xna.Framework.Rectangle::get_Top()
  • Microsoft.Xna.Framework.Rectangle::get_Right()
  • Microsoft.Xna.Framework.Rectangle::get_Bottom()
  • System.Math::Min(System.Int32, System.Int32)
  • System.Math::Max(System.Int32, System.Int32)
Called by

BeforeRender

public System.Void BeforeRender()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash24ECEF0E925BBB0E39E15A4CF5909DAD92DF28A07CFEAFF6C7C1BB1D9A842F90
  • Body hashD893C92FF79E49C0BFA3FBE238446E52FE189C2E5C14E791A9B3FADC22F22588
  • IL size47
Referenced calls

EntityInitialize

public System.Void EntityInitialize()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash4E3EA4BD68EB48C14E10899277329D1F1CC146DBA8BAB586AC981998CD1FCED4
  • Body hash0E1C80D9CBE103883064B6E4C2741555C052F39EDB1A5CC372E5FF8417C9BABE
  • IL size568
Referenced calls
String literals
  • biome:plains_dry
  • biome:plains
  • media/sprites/flora/wheatfield3
  • wheat_straw_emitter
  • media/sprites/flora/grassfield
  • grass_straw_emitter

FillCircle

public System.Single FillCircle(System.Single cx, System.Single cy, System.Single radius, System.Single height, System.Boolean reRaise)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Single
  • StaticFalse
  • VirtualFalse
  • HashBD9B6516CF327A7CEADC3CCF3B994190F6480A22801F1526216A49EF8C7BEA0F
  • Body hash357749F88E279A946F2B24129EE919103A4D9DA0D9A58F5161F00884FB951D2B
  • IL size512
Referenced calls
Called by

FillRectangle

public System.Single FillRectangle(System.Single rx, System.Single ry, System.Single width, System.Single height2d, System.Single height, System.Boolean reRaise)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Single
  • StaticFalse
  • VirtualFalse
  • Hash3C3F87C52BACA07E55E86543D438B1D7596EBF8CF673B035094B4F56313F0A6F
  • Body hash2F00575573580984C3CA53490989DACBE2262883873385147E34B0A4A2B4B6E7
  • IL size585
Referenced calls
Called by

FillStaticCircle

public System.Void FillStaticCircle(System.Single cx, System.Single cy, System.Single radius, System.Single height)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash0D3EB9F5F068A198D7ACDD5D0D060368D4E81FE982B5B7842E2E2480A88F40CC
  • Body hash4303A5A99AD38C69C8CC87B384187F5E6A5C9EC14F0DD814D500D429B86449A8
  • IL size341
Referenced calls
  • System.MathF::Sqrt(System.Single)
  • System.Random::NextSingle()
Called by

FillStaticCircleWithStraws

public System.Void FillStaticCircleWithStraws(System.Single cx, System.Single cy, System.Single radius, System.Single height)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashBD358B1CEFE07C9C87A80B4D04495E7B4CE94898F542ED8263D7ECBCD0765742
  • Body hash100EEC02A3AB49210DD6A1FFF47F3645B31411A44E09915DBEB40BE213910864
  • IL size195

GenerateNoisySquare

public System.Void GenerateNoisySquare()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash4F666FD477CA977307B1A11F7D486BE27221E5F49F45F53D7B072FA1D83BA74C
  • Body hashD876281A9EC9C92122E00C2228A665D4490DAB053F418313B01B97616C25C482
  • IL size2382
Referenced calls
Called by

GetStraw

public GrassFieldController.GrassFieldStraw GetStraw()

Method metadata
  • Visibilitypublic
  • Return typeGrassFieldController.GrassFieldStraw
  • StaticFalse
  • VirtualFalse
  • HashFB210A37A6960F63B08F31AF54A4D021BC1B1C8255E09A932ED9ECD9A0BE107F
  • Body hash568A8FFB327CF2AE1764B050039EB0DBEB0E8CE5EE31B56C2A9E690F3C8386BF
  • IL size22
Referenced calls
  • System.Collections.Generic.Queue<GrassFieldController.GrassFieldStraw>::TryDequeue(!0&)
  • GrassFieldController.GrassFieldStraw::.ctor()
Called by

MakeHolesForStaticEntities

public System.Void MakeHolesForStaticEntities()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashB32140DDAC1BE889F91081EF5DBE99B3CCC5AC932A85736EED401E69ED7B0C0B
  • Body hash788ECA10908057DAD7343239E0CEA4EAE9FC856D6F610B217427590AAE7EF106
  • IL size173
Referenced calls

MakeParticleHole

public System.Void MakeParticleHole(CandideCreator.Shared.Collision.CollisionShape shape, Microsoft.Xna.Framework.Vector3 pos, Microsoft.Xna.Framework.Vector3 particleDirection)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash8494C8E5458627F264197C252470A840333B791B0DE3BA5B287E573FAB904D0C
  • Body hashACAF613D73C6CB73BA5F005E80AF8780180647ED6E95D3C82C9DD36EBCCD3A85
  • IL size1074
Referenced calls
Called by

OnProjectileHit

public System.Boolean OnProjectileHit(System.Int32 id, Shared.Combat.Spells.Casting.CastSpell spell)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualTrue
  • Hash680DA3D0000D4B4B9D27C9CE3DBFF9A13FBC8B5CEBB923E3A450872A799324FC
  • Body hash60A96085B8067307D9371956D3DC328F450679B37370AE874313884CDCD55069
  • IL size482
Referenced calls

OnRemove

public System.Void OnRemove(Shared.Entity.EntityRemoveInfo entityRemoveInfo)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash5761AAC6E7DBC190D7685C7CAD643C32686EBA03A750FE2E252D82CB2A6DB42C
  • Body hash03D0A639F68B62AB93C403E750960D21B54D97439A2BF8734E433FED9F8F32EA
  • IL size25
Referenced calls
  • Microsoft.Xna.Framework.Graphics.GraphicsResource::Dispose()

SpawnParticle

private System.Void SpawnParticle(Microsoft.Xna.Framework.Vector3 pos, Microsoft.Xna.Framework.Vector3 dir, System.Single speedScale)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash14C2A4A84949EDAC53CBC68BD2979A7FA33201BD338D66399EBF0266D6579461
  • Body hashCB7E5B2C085CEBBE64811A5FCDA6D4A532807C07AB087278EAA2933CD5F722A5
  • IL size278
Referenced calls
Called by

Update

public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashFC72D6355E5F5CB131F91E20F0F1F7A3DFC3D352F0B3306974E17BBADB14691C
  • Body hashAEA8A9A97213505614AB4129E2B7A63F1A9F0AB18E1BA0323F4383E962C22A50
  • IL size1170
Referenced calls
  • Shared.Entity.EntityWrapper::get_Fdt()
  • Candide.GameModels.Systems.Weather.WindSway::Update(System.Single)
  • System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, GrassFieldController.GrassFieldStraw>::GetEnumerator()
  • Dictionary.Enumerator<Microsoft.Xna.Framework.Point, GrassFieldController.GrassFieldStraw>::get_Current()
  • System.Collections.Generic.KeyValuePair<Microsoft.Xna.Framework.Point, GrassFieldController.GrassFieldStraw>::Deconstruct(!0&, !1&)
  • System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, GrassFieldController.GrassFieldStraw>::Remove(!0)
  • System.Collections.Generic.Queue<GrassFieldController.GrassFieldStraw>::Enqueue(!0)
  • CandideCreator.Shared.Helpers.InterpolationHelper::SineOut(System.Single)
  • Microsoft.Xna.Framework.MathHelper::Lerp(System.Single, System.Single, System.Single)
  • System.Math::Min(System.Int32, System.Int32)
  • System.Math::Max(System.Int32, System.Int32)
  • Dictionary.Enumerator<Microsoft.Xna.Framework.Point, GrassFieldController.GrassFieldStraw>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Collections.Generic.Dictionary<System.Guid, System.Single>::GetEnumerator()
  • Dictionary.Enumerator<System.Guid, System.Single>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Guid, System.Single>::Deconstruct(!0&, !1&)
  • System.Collections.Generic.Dictionary<System.Guid, System.Single>::Remove(!0)
  • System.Collections.Generic.Dictionary<System.Guid, System.Single>::set_Item(!0, !1)
  • Dictionary.Enumerator<System.Guid, System.Single>::MoveNext()
  • System.Collections.Generic.List<Shared.Entity.EntityWrapper>::Clear()
  • CandideCreator.Shared.Models.RectangleF::op_Implicit(Microsoft.Xna.Framework.Rectangle)
  • Shared.Entity.EntitySystem::GetEntitiesInRectangleArea(CandideCreator.Shared.Models.RectangleF, 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_Mask()
  • Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)
  • Shared.Entity.EntityWrapper::get_CollisionInRest()
  • Shared.Entity.EntityWrapper::get_PositionZ()
  • Shared.Entity.EntityWrapper::get_Immovable()
  • Microsoft.Xna.Framework.MathHelper::Clamp(System.Single, System.Single, System.Single)
  • Shared.Entity.EntityWrapper::get_Shape()
  • Shared.Entity.EntityWrapper::get_Position2()
String literals
  • event:/player/footsteps/fields/footsteps_field

UpdateTexture

private System.Void UpdateTexture()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash24FFC04D2C5157AE73F9F5E0D13EB2F6000EC5CA4F5A624B33E6DCC217470A2A
  • Body hash907F69E0A2C2AD866D094B73711BCFBA518F5F7F691826999AF4A0BEC5375C20
  • IL size386
Referenced calls
  • System.Math::Max(System.Int32, System.Int32)
  • System.Math::Min(System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Rectangle::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Graphics.Texture2D::SetData(!!0[])
  • System.Array::Copy(System.Array, System.Int32, System.Array, System.Int32, System.Int32)
  • System.Nullable<Microsoft.Xna.Framework.Rectangle>::.ctor(!0)
  • Microsoft.Xna.Framework.Graphics.Texture2D::SetData(System.Int32, System.Nullable<Microsoft.Xna.Framework.Rectangle>, !!0[], System.Int32, System.Int32)
Called by