Candide.Graphics.FloatingTextSystem
Type JSONpublic class in Candide.Graphics
Type metadata
- Assembly
Romestead - Namespace
Candide.Graphics - Base type
System.Object - Hash
03EF99EA2888B35087EDD284D4F7EFB8D10E9CC833DF841A1AE5B88D9B3C1ADD
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
SortedTextsReuseList# | private | private System.Collections.Generic.List<FloatingTextSystem.FloatText> SortedTextsReuseList |
TextPool# | private | private CandideCreator.Shared.Algorithms.ObjectPool<FloatingTextSystem.FloatText> TextPool |
Texts# | public | public System.Collections.Generic.HashSet<FloatingTextSystem.FloatText> Texts |
Methods
AddNewDamageText
#
public System.Void AddNewDamageText(System.Single displayDamage, Shared.Combat.DamageInfo damageInfo)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
446F85994CCB4D442FE1D556760CE13BD94484ABC58C283A8DA1EE8296CFCF64 - Body hash
F08B6BEDE41BF7DFE8F3422E9BFA16201895187049B5709213923D9B18CF36BB - IL size786
Referenced calls
Candide.Graphics.DeferredRenderer::IsOutsideFoW(Shared.Entity.EntityWrapper)System.Threading.Monitor::Enter(System.Object, System.Boolean&)CandideCreator.Shared.Algorithms.ObjectPool<FloatingTextSystem.FloatText>::GetObject()Shared.Entity.EntityWrapper::get_Position()System.Nullable<Microsoft.Xna.Framework.Vector3>::GetValueOrDefault(!0)Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::Length()System.Math::Min(System.Single, System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.VectorExtension::NormalizeReturnSafe(Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Helpers.VectorExtension::ToVector3Xy(Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_CollisionHeight()CandideCreator.Shared.Helpers.RandomHelper::NextPointInCircle(System.Random)CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::get_Zero()Shared.Entity.EntityWrapper::get_Id()Candide.Multiplayer.PlayerHelper::IsLocalPlayer(Shared.Entity.EntityWrapper)Microsoft.Xna.Framework.Color::op_Multiply(Microsoft.Xna.Framework.Color, System.Single)System.String::op_Equality(System.String, System.String)Candide.GameModels.Helpers.PlayerEquipmentHelper::GetEquippedItemForType(Shared.Models.Items.EquipmentType)Shared.Models.Items.ItemInstanceModel::get_Data()Candide.Graphics.FloatingTextSystem::AddTextWithoutOverlap(FloatingTextSystem.FloatText)System.Threading.Monitor::Exit(System.Object)
String literals
!-skill:woodcuttingskill:mining
AddNewFloatText
#
public System.Void AddNewFloatText(System.String baseText, Microsoft.Xna.Framework.Vector2 position, Microsoft.Xna.Framework.Color color, System.String stackId, System.Int32 stackCount, System.Single timer, System.String iconId, System.Single textScale, System.Boolean italics)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
0608B787CE6E1F5165900CB431BA28A02B4EB090F18CC62E795A7F4A602C5731 - Body hash
170AA9D3ED89FC99DF2A077BC38254E4722FC76B7E1A6FBBBA394858A341A6A4 - IL size217
Referenced calls
System.Threading.Monitor::Enter(System.Object, System.Boolean&)CandideCreator.Shared.Algorithms.ObjectPool<FloatingTextSystem.FloatText>::GetObject()Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::get_Zero()Candide.Graphics.FloatingTextSystem::AddTextWithoutOverlap(FloatingTextSystem.FloatText)System.Threading.Monitor::Exit(System.Object)
Called by
Candide.Entities.Auras.VisualEntityAura::OnAuraFirstApplyVisualsCandide.Entities.PlayerState.PlayerStates.PlacingState::ActionPlaceCandide.GameModels.Managers.FurnitureManager::SpawnFurniturePickupTextCandide.GameModels.Services.SimpleInventoryService::OnReceive_UpdateInventoriesItemInstancesWithAddMessageCandide.Graphics.ParticleSystem::UpdateCoinCandide.Sound.SoundPlayer::Play3DEventOneShotCandide.Sound.SoundPlayer::PlayEventOneShotCandide.Toolkit.ClientToolDamageHelper::HandleRockToolDamageCandide.Toolkit.ClientToolDamageHelper::HandleTreeToolDamage
AddNewHealText
#
public System.Void AddNewHealText(System.Single healAmount, Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
AF9DA307EABFB76AE2E0632FC99BA6C36CF7856FF7E20B235D79046683A16AFE - Body hash
2D92139AAD9F7CE6153E0BB6991A0A2D9D297F1333B10F3953054E72E19E2246 - IL size366
Referenced calls
Candide.Graphics.DeferredRenderer::IsOutsideFoW(Shared.Entity.EntityWrapper)System.MathF::Round(System.Single, System.Int32)System.Threading.Monitor::Enter(System.Object, System.Boolean&)CandideCreator.Shared.Algorithms.ObjectPool<FloatingTextSystem.FloatText>::GetObject()Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Color::get_White()Microsoft.Xna.Framework.Vector2::get_Zero()Shared.Entity.EntityWrapper::get_Id()Candide.Graphics.FloatingTextSystem::AddTextWithoutOverlap(FloatingTextSystem.FloatText)System.Threading.Monitor::Exit(System.Object)
Called by
String literals
+
AddNewMissingEnergyText
#
public System.Void AddNewMissingEnergyText(System.Single energyCost, Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
E6CE9F68E555179BE0CF8EFC39F598D778953F2EA9FFDCC5CA1B51A6588015CE - Body hash
AC02D80E58AF016CBCDCABE9218B505D538C0FAB5DFD42502E4BE60F9FAA0A1B - IL size307
Referenced calls
Shared.Entity.EntityWrapper::get_Energy()System.Globalization.CultureInfo::get_InvariantCulture()System.Single::ToString(System.String, System.IFormatProvider)Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Threading.Monitor::Enter(System.Object, System.Boolean&)CandideCreator.Shared.Algorithms.ObjectPool<FloatingTextSystem.FloatText>::GetObject()Microsoft.Xna.Framework.Color::get_White()Microsoft.Xna.Framework.Vector2::get_Zero()Shared.Entity.EntityWrapper::get_Id()Candide.Graphics.FloatingTextSystem::AddTextWithoutOverlap(FloatingTextSystem.FloatText)System.Threading.Monitor::Exit(System.Object)
Called by
Candide.Entities.PlayerState.PlayerDashHandler::CheckCanEnterCandide.Entities.PlayerState.PlayerStates.AttackState::CheckCanEnterCandide.Entities.PlayerState.PlayerStates.BowSecondaryChargeUpState::CheckCanEnterCandide.Entities.PlayerState.PlayerStates.JavelinThrowState::CheckCanEnterCandide.Entities.PlayerState.PlayerStates.NormalState::CheckAltAttackCandide.Entities.PlayerState.PlayerStates.PlacingState::ActionDashCandide.Entities.PlayerState.PlayerStates.ShieldHandler::CanTurnOnCandide.Entities.PlayerState.PlayerStates.ShootingState::CheckCanEnterCandide.Entities.PlayerState.PlayerStates.SpellTomeHoldingState::CheckCanEnter
String literals
0.0ui:energymissing_energy
AddTextWithoutOverlap
#
private System.Void AddTextWithoutOverlap(FloatingTextSystem.FloatText text)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
1D6B7B04929094EFECF96F8731D3ACCE6432D1480E34DA39202049991884C2FD - Body hash
F2F69A47E6CA3EF6C23ADCC7DA1EFD6E54254356BBEF8957E739502D473F9DC7 - IL size622
Referenced calls
FloatingTextSystem.FloatText::UpdateText()System.Collections.Generic.HashSet<FloatingTextSystem.FloatText>::GetEnumerator()HashSet.Enumerator<FloatingTextSystem.FloatText>::get_Current()System.String::op_Inequality(System.String, System.String)Microsoft.Xna.Framework.Vector2::Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Candide.Graphics.FloatingTextSystem::Remove(FloatingTextSystem.FloatText)HashSet.Enumerator<FloatingTextSystem.FloatText>::MoveNext()System.IDisposable::Dispose()CandideCreator.Shared.Models.RectangleF::.ctor(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Models.RectangleF::Intersects(CandideCreator.Shared.Models.RectangleF)CandideCreator.Shared.Models.RectangleF::get_Bottom()Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)CandideCreator.Shared.Models.RectangleF::get_Right()Microsoft.Xna.Framework.Vector2::DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Collections.Generic.HashSet<FloatingTextSystem.FloatText>::Add(!0)
Clear
#
public System.Void Clear()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
4A5FA5C60329725D7C3CCC73A328CADEEA1250EE755030DAEC84B8D7EE02705D - Body hash
69F43441134092EE542F6A846D391791864E551A21C6BA0418BE98BD95313763 - IL size96
Referenced calls
System.Threading.Monitor::Enter(System.Object, System.Boolean&)System.Collections.Generic.HashSet<FloatingTextSystem.FloatText>::GetEnumerator()HashSet.Enumerator<FloatingTextSystem.FloatText>::get_Current()CandideCreator.Shared.Algorithms.ObjectPool<FloatingTextSystem.FloatText>::Return(!0)HashSet.Enumerator<FloatingTextSystem.FloatText>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.HashSet<FloatingTextSystem.FloatText>::Clear()System.Threading.Monitor::Exit(System.Object)
Draw
#
public System.Void Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch batch, Microsoft.Xna.Framework.Matrix cameraMatrix)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
3D2F8996CD4A09DAD69DB620AE1B3C60BBE0257005A4172BEFEECB103E1236D4 - Body hash
53BBD01D35149E6BE283AE87A93D8D04644F6689DDEBAB6708C2433BD5CCEF7E - IL size1003
Referenced calls
System.Threading.Monitor::Enter(System.Object, System.Boolean&)System.Collections.Generic.HashSet<FloatingTextSystem.FloatText>::get_Count()System.Collections.Generic.List<FloatingTextSystem.FloatText>::Clear()System.Collections.Generic.List<FloatingTextSystem.FloatText>::AddRange(System.Collections.Generic.IEnumerable<!0>)System.Threading.Monitor::Exit(System.Object)Candide.Graphics.Camera::get_CurrentPositionCenter()Microsoft.Xna.Framework.Graphics.GraphicsResource::get_GraphicsDevice()Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_Viewport()Microsoft.Xna.Framework.Graphics.Viewport::get_Width()Candide.Graphics.Fonts.FontManager::get_FontScale()Candide.Graphics.Fonts.IFontProvider::GetRenderFont(System.Single)FloatingTextSystem.<>c::<Draw>b__4_0(FloatingTextSystem.FloatText, FloatingTextSystem.FloatText)System.Comparison<FloatingTextSystem.FloatText>::.ctor(System.Object, System.IntPtr)System.Collections.Generic.List<FloatingTextSystem.FloatText>::Sort(System.Comparison<!0>)System.Collections.Generic.List<FloatingTextSystem.FloatText>::GetEnumerator()List.Enumerator<FloatingTextSystem.FloatText>::get_Current()Microsoft.Xna.Framework.Vector2::DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Helpers.CandideMathHelper::From1To0Between(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.InterpolationHelperExtemsion::CubeOut(System.Single)Microsoft.Xna.Framework.Color::set_A(System.Byte)Microsoft.Xna.Framework.Color::set_R(System.Byte)Microsoft.Xna.Framework.Color::set_G(System.Byte)Microsoft.Xna.Framework.Color::set_B(System.Byte)CandideCreator.Shared.Helpers.CandideMathHelper::From0To1Between(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::InterpolateBetween(System.Single, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix)Microsoft.Xna.Framework.Vector2::get_Zero()Microsoft.Xna.Framework.Vector2::.ctor(System.Single)System.Nullable<Microsoft.Xna.Framework.Vector2>::.ctor(!0)FontStashSharp.SpriteFontBase::TextBounds(System.String, Microsoft.Xna.Framework.Vector2, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Single, System.Single, FontStashSharp.FontSystemEffect, System.Int32)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.GameTime::get_TotalGameTime()
GetBounds
#
private Microsoft.Xna.Framework.Vector2 GetBounds(System.String text)
Method metadata
- Visibilityprivate
- Return type
Microsoft.Xna.Framework.Vector2 - StaticTrue
- VirtualFalse
- Hash
F7D2E8CFAE8C213096C2C8033615A0A71A803D609097C8441C648AECB299C43F - Body hash
10B819160372692FF2E1F7F5CA95B90A586ECEBC67417F37F2B2454BE033E320 - IL size37
Referenced calls
System.String::get_Length()Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)
Called by
Remove
#
public System.Void Remove(FloatingTextSystem.FloatText text)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
95D84116742921B75E7CCCE5FFA569993371B81287E51A02B0CDBD91B5213F54 - Body hash
DEEBCC16B1280F397D8E2A15CA259DE40F666531BAB527941226948A1C571F09 - IL size52
Referenced calls
System.Threading.Monitor::Enter(System.Object, System.Boolean&)CandideCreator.Shared.Algorithms.ObjectPool<FloatingTextSystem.FloatText>::Return(!0)System.Collections.Generic.HashSet<FloatingTextSystem.FloatText>::Remove(!0)System.Threading.Monitor::Exit(System.Object)
RemoveDoneEntries
#
private System.Void RemoveDoneEntries()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
D224E63CD38AA7CEC4C97A949FD74B43D9A84A50634963BB232C7B4F1F969997 - Body hash
F92A01936EA85BA6C5B6C5DA4DC4672677E17E7EBA3CAE9D65B16E5035BE1150 - IL size67
Referenced calls
System.Collections.Generic.HashSet<FloatingTextSystem.FloatText>::GetEnumerator()HashSet.Enumerator<FloatingTextSystem.FloatText>::get_Current()Candide.Graphics.FloatingTextSystem::Remove(FloatingTextSystem.FloatText)HashSet.Enumerator<FloatingTextSystem.FloatText>::MoveNext()System.IDisposable::Dispose()
Update
#
public System.Void Update(System.Single dt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
3A104A8B42C47E586B410FD19D4966014F7EE20454BDBAC513440B83A42EB66C - Body hash
07EA76B06A89484A233D3A3EEE6544E0D7C8817CDA68FFF6A8BCB8FD09A205A0 - IL size282
Referenced calls
System.Threading.Monitor::Enter(System.Object, System.Boolean&)System.Collections.Generic.HashSet<FloatingTextSystem.FloatText>::GetEnumerator()HashSet.Enumerator<FloatingTextSystem.FloatText>::get_Current()CandideCreator.Shared.Helpers.CandideMathHelper::From0To1Between(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.InterpolationHelperExtemsion::QuadIn(System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::InterpolateBetween(System.Single, System.Single, System.Single)System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntityWrapper>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)HashSet.Enumerator<FloatingTextSystem.FloatText>::MoveNext()System.IDisposable::Dispose()Candide.Graphics.FloatingTextSystem::RemoveDoneEntries()System.Threading.Monitor::Exit(System.Object)