CandideServer.Entities.Bridges.ServerSpellManagerBridge
Type JSONpublic class in CandideServer.Entities.Bridges
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.Bridges - Base type
System.Object - Interfaces
Shared.Interfaces.Projectiles.ISpellManagerBridge - Hash
A25BDB80353C1B39A1DA3ED969AD55A87FA777E6919AEA76B529641C4C3178C2
Relationships
Base type
System.Object
Interfaces
Fields
| Name | Visibility | Signature |
|---|---|---|
Instance# | public | public CandideServer.Entities.Bridges.ServerSpellManagerBridge Instance |
Methods
CastSnapshotSpell
#
public System.Void CastSnapshotSpell(Shared.Combat.Spells.Casting.SpellCastingContext context, Shared.Helpers.CastSpellArgs castSpellArgs, Shared.Models.Spells.ProjectileHitFlags canHit, System.Guid worldId, System.Boolean sendOnlineSync)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
BBA7233D618ACA18D894F76BD6CCF424688FC485601E685656A6273B4F2654E6 - Body hash
CE0B0E4D6EA9BF69AEBB525E5846D8CBA96AF06567868273C91C490F116A729E - IL size81
Referenced calls
Shared.Entity.EntityWrapper::get_Id()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)CandideServer.ServerManagers.SpellServerManager::TryCastSnapshotSpell(CandideServer.Models.Spells.ServerSpellCastingContext, Shared.Helpers.CastSpellArgs, CandideServer.SyncStrategies.SyncStrategy)
GetEntityFromId
#
public Shared.Entity.EntityWrapper GetEntityFromId(System.Nullable<System.Guid> entityId)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.EntityWrapper - StaticFalse
- VirtualTrue
- Hash
E8E3AD7DDD6E9B7DF4221A3D2907F136D6774CF49782F588AFF1F30F34FB5B7D - Body hash
A9D4D7216BEFF47F3616B5D1137C0E4A6DF0BDC4477F885A15C39A7188FB8783 - IL size45
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)
GetPlayerFlagValue
#
public System.Nullable<Shared.Models.Player.CharacterFlag> GetPlayerFlagValue(System.Nullable<System.Guid> contextOwnerEntityId, System.String flagName)
Method metadata
- Visibilitypublic
- Return type
System.Nullable<Shared.Models.Player.CharacterFlag> - StaticFalse
- VirtualTrue
- Hash
3727E2150FF5DA563DA59133005878EC32B9AF4DE6ECD590946F25B0C54DC391 - Body hash
B61F914616C870DABA9CFE73E7119278CE5BBE2A71023CF0DC994B716C171B0D - IL size73
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()CandideServer.ServerGameState::TryGetPlayerCharacter(System.Guid, CandideServer.Models.Player.ServerPlayerCharacter&)System.Collections.Generic.Dictionary<System.String, Shared.Models.Player.CharacterFlag>::TryGetValue(!0, !1&)System.Nullable<Shared.Models.Player.CharacterFlag>::.ctor(!0)
GetSpellAndSanityCheck
#
public Shared.Models.Spells.SpellDataModel GetSpellAndSanityCheck(System.String spellId, System.Object overrideSpellTypeArgs)
Method metadata
- Visibilitypublic
- Return type
Shared.Models.Spells.SpellDataModel - StaticFalse
- VirtualTrue
- Hash
AE82720FBF1D73796AFA13418D529C60381BBECAF958476B808A89E4DFABBA73 - Body hash
A9EAB8BC8A4386FCC20EEA13B1C12447F6AFFEF29A592CB8FA4F5B724B265616 - IL size8
GetWeaponTypeBaseDamage
#
public Shared.Combat.DamageTypesArray GetWeaponTypeBaseDamage(System.Guid castingEntityId, Shared.Models.Items.WeaponTypeEnum weaponType, System.Single scale, Shared.Combat.AttackType attackType, System.Single attackTypeBonusScale)
Method metadata
- Visibilitypublic
- Return type
Shared.Combat.DamageTypesArray - StaticFalse
- VirtualTrue
- Hash
51F877E56AA9C6056AF832F139223BAD8BD58E974D2299329E426ABD829F2ADA - Body hash
22101643FFDABF6770A2CBEA338AEC6FB1B036BB1E60D3EE32A02E469E6E39AA - IL size156
Referenced calls
CandideServer.ServerGameState::TryGetPlayerCharacter(System.Guid, CandideServer.Models.Player.ServerPlayerCharacter&)CandideServer.Helpers.ServerEquipmentHelper::GetEquippedItemForWeaponType(System.Guid, Shared.Models.Items.WeaponTypeEnum)Shared.Models.Items.ItemInstanceModel::get_Data()Shared.Models.Items.DamageTypeRanges::GetAverage()Shared.Combat.DamageTypesArray::Scale(System.Single)CandideServer.ServerGameState::TryGetServerEntity(System.Guid, CandideServer.Entities.ServerEntityModel&, System.String)Shared.Entity.EntityWrapper::get_Stats()Shared.Models.Stats.EntityStats::GetCalculatedDamageTypesArray(Shared.Combat.DamageTypesArray, Shared.Combat.AttackType, System.Single)
String literals
GetWeaponTypeBaseDamage
GetWorldStatsValue
#
public System.Single GetWorldStatsValue(System.String worldStatId)
Method metadata
- Visibilitypublic
- Return type
System.Single - StaticFalse
- VirtualTrue
- Hash
1060FC3B6B18BDCAB73CBCE47D99061423BCE224FD72BB7B9696B25708D076B0 - Body hash
068B6F556CE56387A857BD2E301BAA1A0F8D388EDE041A113FABBEB0B4394F10 - IL size12
Referenced calls
HasWeaponEquipped
#
public System.Boolean HasWeaponEquipped(System.Guid castingEntityId, Shared.Models.Items.WeaponTypeEnum weaponType)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
EADDBBF1BB5F45E06CDF06F43E36092776F58946FE5ED47DAF898F06CC438C54 - Body hash
840E35B4430EDA3446D25FB9EB0A68C907C5E6BFF45157F964808E045BCB9D30 - IL size38
RemoveCastSpell
#
public System.Void RemoveCastSpell(Shared.Combat.Spells.Casting.CastSpell castSpell, System.Int16 projectilePartIndex, Microsoft.Xna.Framework.Vector2 position)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
6325BE197459116DB696792A9FC3590C497FAEA1E5B1F145A8D1347EB9E57F2A - Body hash
1E4A2C3423174E13BC3969122E5BB8FF84A9B1E8BA0A23CE2018417D53DDCA96 - IL size66
Referenced calls
Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::.ctor(!0)CandideServer.ServerServices.SpellServerService::Send_RemoveCastSpell(System.UInt16, System.Int16, System.Nullable<System.Guid>, System.Guid, Microsoft.Xna.Framework.Vector2)
ScaleDamageWithMagicStats
#
public System.Void ScaleDamageWithMagicStats(System.Guid castingEntityId, Shared.Combat.DamageTypesArray damageArray, Shared.Combat.AttackType attackType, System.Single attackTypeBonusScale)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
36567EFA503CD00D27D23A7166509D92F4478590786739B77D7C5DC352AE2E4C - Body hash
BB9B7FBDA4C0E3C1FE8CDCD77DB9554A4AA358035FD4C6C038BF1F699BB7DDD4 - IL size59
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_Stats()Shared.Models.Stats.EntityStats::GetCalculatedDamageTypesArray(Shared.Combat.DamageTypesArray, Shared.Combat.AttackType, System.Single)
ShouldApplyDamage
#
public System.Boolean ShouldApplyDamage(System.Boolean ownedByOtherPeer, Shared.Entity.EntityWrapper victim)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
81C1AD95CE3127D7FA997242C28A44746FF1494E57736594194B84EF4B28A2FB - Body hash
3CF24ADFABDF42C4F9AF581FDB382A35987BA92D961792986BB3692AC5ED7232 - IL size17