CandideServer.Entities.Controllers.ServerFlintController
Type JSONpublic class in CandideServer.Entities.Controllers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.Controllers - Base type
Shared.Entity.Base.AbstractController - Hash
C3610F62794769D16B1D778373586AA4EEE151D9864FF38ABECA08066EA893FD
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
CanBreakTimer# | public | public System.Single CanBreakTimer |
SharpKey# | public | public System.String SharpKey |
Methods
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
AD0269CA69D1795C85FB701B896A0458B9C7E574BC4CB7525F999BFFADC2D9D0 - Body hash
002D7DBB3F8EBA1BDAD362A6628EAA3D3913C1AE708430C0588372BC8EF930F5 - IL size48
Referenced calls
String literals
sharp
OnDamaged
#
public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
B2909D584617A06450CEE1D80C19BC31993ACCDB4D87FC12F315B373AD052869 - Body hash
90485A763816BE787F947D6CBB4C4861B926E5951A271491207380F802F26C4A - IL size218
Referenced calls
Shared.Entity.EntityWrapper::set_Health(System.Single)CandideServer.Entities.Controllers.ServerFlintController::OtherEntityCanHurtFlint(Shared.Entity.EntityWrapper)CandideServer.Helpers.ServerEquipmentHelper::GetEquippedItemForType(Shared.Entity.EntityWrapper, Shared.Models.Items.EquipmentType)CandideServer.Entities.Controllers.ServerFlintController::Sharpen(Shared.Entity.EntityWrapper, System.Single)Shared.Entity.EntityWrapper::get_MaxHealth()
OnEntityCollision
#
public System.Boolean OnEntityCollision(Shared.Entity.EntityWrapper otherEntity, Microsoft.Xna.Framework.Vector3 thisOldVelocity, Microsoft.Xna.Framework.Vector3 thisNewVelocity, Microsoft.Xna.Framework.Vector3 otherOldVelocity, Microsoft.Xna.Framework.Vector3 otherNewVelocity, out Microsoft.Xna.Framework.Vector3& overrideVelocity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
721082CC609333EBDAC34D0E0705401FE4C5C010E88E90A4D06795C93266CC4A - Body hash
FE0C54BD8DD7FB16400BE3DE6643B9B0BAFA9B9A83B445FFAAEED9FEAB3A6222 - IL size118
Referenced calls
Shared.Entity.EntityWrapper::get_IsThrown()Shared.Entity.EntityWrapper::set_Health(System.Single)CandideServer.Entities.Controllers.ServerFlintController::OtherEntityCanHurtFlint(Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::get_ThrowerId()Shared.Entity.EntitySystem::GetEntityById(System.Nullable<System.Guid>)CandideServer.Entities.Controllers.ServerFlintController::Sharpen(Shared.Entity.EntityWrapper, System.Single)
OnOutOfHealth
#
public System.Boolean OnOutOfHealth(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
D6B299A4EC0C3A0A059EF8F03692C59ECF449731788FF8147DB0B85A2F551D18 - Body hash
535693E48A6AFBB141CA203E93185CE9F60A790142AC6F27EF3D4F2E923867A4 - IL size103
Referenced calls
Shared.Entity.EntityWrapper::get_DropTable()CandideServer.ServerManagers.LootServerManager::GenerateDroppedGoods(Shared.Models.DropTables.DropTableSystem, System.Single)Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::get_Velocity()Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)CandideServer.ServerManagers.LootServerManager::DropGoods(Shared.Models.DropTables.DroppedGoods, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, System.Guid, System.Nullable<System.Int32>)
OnServerSetState
#
public System.Void OnServerSetState(System.Int32 state)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
3C40791A559A3B7969F4A6D1246A5B8C6E157918EBC01EE9BBB0139AFFC5CFBB - Body hash
F36164B86E3F2D9DDEE2B49E995AFC7D4422BCA100C573C1C881C94CC0D7EBBB - IL size104
Referenced calls
Shared.Entity.EntityWrapper::set_DamageVfxType(Shared.Combat.DamageVfxType)Shared.Entity.EntityWrapper::get_MovableDamage()Shared.Combat.DamageTypesArray::get_Item(System.Int32)Shared.Combat.DamageTypesArray::SetDamages(System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single)
OnThrownEntityCollision
#
public System.Boolean OnThrownEntityCollision(Shared.Entity.EntityWrapper thrownEntity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
3D5237B60830544FCEA70DF2F6AECA38637B3C796BFC7CE462C76298C013ABDE - Body hash
16D454C4618EAF0208402C4B456F79138683C254F77A30A523AA53E84FA36732 - IL size85
Referenced calls
CandideServer.Entities.Controllers.ServerFlintController::OtherEntityCanHurtFlint(Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::get_ThrowerId()Shared.Entity.EntitySystem::GetEntityById(System.Nullable<System.Guid>)CandideServer.Entities.Controllers.ServerFlintController::Sharpen(Shared.Entity.EntityWrapper, System.Single)Shared.Entity.EntityWrapper::set_Health(System.Single)
OtherEntityCanHurtFlint
#
private System.Boolean OtherEntityCanHurtFlint(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
F32AB9200AF26763C22B3A44047824578104B48E24978431B047F12ACF3EBF71 - Body hash
AA58BE331B1DF5DD9169B3276F84F1D820EDEB4303CB86E44E1756865EC330F9 - IL size94
Referenced calls
Shared.Entity.EntityWrapper::get_ThrowerId()Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Equality(System.Guid, System.Guid)Shared.Entity.EntityWrapper::get_Material()Shared.Entity.EntityWrapper::get_ConstructionMaterials()Shared.Models.Construction.ConstructionMaterialsAggregate::GetAmountForResource(System.String)
Called by
String literals
resource:stone
Sharpen
#
private System.Void Sharpen(Shared.Entity.EntityWrapper hittingEntity, System.Single force)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
C426A79F93CE6F96E8B1C739D5B342507A0C8CF47E800FC1B2FBCE3DC9A9D41B - Body hash
A2ABCBBC2C620408B5B56D11D76E9A46061BAA676E90616C9D04877F2F07842E - IL size377
Referenced calls
Shared.Entity.Base.AbstractController::OnServerSetState(System.Int32)CandideServer.ServerManagers.PlayerServerManager::TryGetPlayerFromEntity(Shared.Entity.EntityWrapper, CandideServer.ServerServices.ServerJoinedPlayerModel&)CandideServer.Models.Quests.EventModels.OnFlintSharpenedEvent::Send(System.Guid)System.Collections.Generic.List<CandideServer.ServerServices.NewWorldItemInstanceModel>::.ctor()CandideCreator.Shared.Helpers.RandomHelper::NextVector2(System.Random)CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::get_Velocity()Shared.Entity.EntityWrapper::get_Fdt()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)CandideCreator.Shared.Helpers.RandomHelper::NextVector3(System.Random)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::op_Division(Microsoft.Xna.Framework.Vector3, System.Single)System.Collections.Generic.List<CandideServer.ServerServices.NewWorldItemInstanceModel>::Add(!0)System.Random::Next(System.Int32, System.Int32)CandideServer.Helpers.ServerWorldHelper::GetEntityWorldId(Shared.Entity.EntityWrapper)System.Nullable<System.Int32>::.ctor(!0)CandideServer.ServerManagers.ItemInstanceServerManager::CreateItemInstancesAndWorldItems(System.Collections.Generic.IReadOnlyCollection<CandideServer.ServerServices.NewWorldItemInstanceModel>, System.Guid, System.Nullable<System.Int32>)
Called by
String literals
material:flint_shard
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
4200A9E6FD2A8730EF52C8F2C15117DFA094480EC93FAAE3B41A571ADB23BDD1 - Body hash
A63BE267C0B6A95F0E4D46FEF32AC9298852D66B92CDFC2BC5AD7851A3D5F655 - IL size25
Referenced calls
Shared.Entity.EntityWrapper::get_Fdt()