Romestead Assembly Reference

Candide.GameModels.Managers.SpellManager

Type JSON

public class in Candide.GameModels.Managers

Methods9
Properties0
Fields1
Events0
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.GameModels.Managers
  • Base typeSystem.Object
  • Hash775C9CE0835AE487FA17D90E992FAA4238EF261A6414DDB6046550D6D752FD7A

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
NextSpellCastIdpublicpublic System.UInt16 NextSpellCastId

Methods

CastPlayerWeaponSpell

public System.Void CastPlayerWeaponSpell(Candide.Combat.ClientProjectileSystem projectileSystem, Shared.Models.Spells.SpellDataModel spell, Shared.Combat.Spells.Casting.SpellCastingContext spellCastingContext, Shared.Helpers.CastSpellArgs args, System.Guid worldId, Shared.Models.Spells.ProjectileHitFlags canHit, System.Boolean sendOnlineSync)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashB7E700A5147EE48BA4447799B2DE0A69E3B92A140FB1B3369F8E9005F40657A9
  • Body hashEF559A8AC65B06A70AFF6A9E5D94AF49674BAD91CCC070C6188A5CCDB6A3C07A
  • IL size430
Referenced calls
Called by
String literals
  • SpellManager
  • .
  • CastPlayerWeaponSpell
  • : Failed to cast spell
  • - Caster:
  • - ArgsType:

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 typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash85DBB6C955423D1F747B55F20E58301128741104D513D18E815E95CF9039E391
  • Body hash10659B2AB30220E853E4A24438DA02CB6D08A46DC06728B50D231DDEC0062470
  • IL size464
Referenced calls
Called by
String literals
  • SpellManager
  • .
  • CastSnapshotSpell
  • : Failed to cast spell
  • - Caster:
  • - ArgsType:

CastSpell

public System.Void CastSpell(System.String spellId, System.Nullable<Microsoft.Xna.Framework.Vector3> position, System.Nullable<System.Single> direction, Shared.Entity.EntityWrapper castingEntity, System.Nullable<Shared.Combat.Spells.Casting.SpellCastingContextItemData> itemData, System.Object overrideSpellTypeArgs, Shared.Models.Spells.AttackSpellArgs overrideAttackSpellArgs, System.Guid worldId, System.Nullable<System.Guid> target, Shared.Models.Spells.ProjectileHitFlags canHit, System.Boolean sendOnlineSync)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash97C7B4489B20DFED10258D01DCBDDB5BB62C194AB16E81BEC09276C3E2E3B13C
  • Body hash237EE9D071380BCE187CBED2DB6D496F2A2933BFCB5A9F77D3ED69AEAC8B78ED
  • IL size615
Referenced calls
Called by
String literals
  • Error creating spell args for spell with ID
  • SpellTypeArgs has ended upp null in the casting context for spell
  • SpellManager
  • .
  • CastSpell
  • : Failed to cast spell
  • - Caster:
  • - ArgsType:
  • The GameState projectile system has become null

CreateSpellArgs

public Shared.Helpers.CastSpellArgs CreateSpellArgs(Shared.Models.Spells.SpellDataModel spell, Shared.Entity.EntityWrapper castingEntity, System.String skillId)

Method metadata
  • Visibilitypublic
  • Return typeShared.Helpers.CastSpellArgs
  • StaticTrue
  • VirtualFalse
  • Hash800554EAA0693A3548A43B550E3EF35C6F3FFF1D659A19915E1FC1A68372F576
  • Body hash99D977895EF949893AD4213A6DE1411EB5BF95BDE206D45DA20FAF721994BB39
  • IL size34
Referenced calls
Called by

CreateSpellArgs

public Shared.Helpers.CastSpellArgs CreateSpellArgs(Shared.Models.Spells.SpellDataModel spell, Shared.Models.Spells.AttackSpellArgs overrideAttackSpellArgs, Shared.Entity.EntityWrapper castingEntity)

Method metadata
  • Visibilitypublic
  • Return typeShared.Helpers.CastSpellArgs
  • StaticTrue
  • VirtualFalse
  • Hash6CFB71835071C55083FEC372F2E8910D53C815DD079E44F39529ED6B97A68C15
  • Body hash119D59CAF4A058CB862ADF20C86769EBE3A684803D8E0A1E1A6663D8C937006C
  • IL size201
Referenced calls
Called by

GetSpellAndSanityCheck

public Shared.Models.Spells.SpellDataModel GetSpellAndSanityCheck(System.String spellId, System.Object overrideSpellTypeArgs)

Method metadata
  • Visibilitypublic
  • Return typeShared.Models.Spells.SpellDataModel
  • StaticTrue
  • VirtualFalse
  • HashF0B2408982F6A54AB81219FBE70937EF02FAD01B34A2B8E7E5B48384872E6D76
  • Body hash296BBADAA4DE875DFDCD5A94F80C7C614F5F5B452CD65771CE200F5A5BF0F287
  • IL size189
Referenced calls
  • Shared.Data.SpellDataBase::GetSpellOrNull(System.String)
  • System.String::Concat(System.String, System.String)
  • CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)
  • System.Object::GetType()
  • System.Type::op_Inequality(System.Type, System.Type)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • System.Collections.Generic.Dictionary<System.String, Candide.GameModels.Models.Spells.AbstractSpell>::ContainsKey(!0)
Called by
String literals
  • SpellManager: Could not find spell with ID
  • SpellManager
  • : Override arguments are not compatible with the cast spell. Got
  • , expected
  • SpellManager: Unknown spelltype

SyncOnSpellCast

public System.Void SyncOnSpellCast(CandideServer.MessageModels.Spell.OnSpellCastMessage msg)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash6C4D93201ABDEB7C246541E5AEAD8E8B43A1EB4998E6D32948FE9B8D9DCD0CF5
  • Body hashADD41C44FA34AD82F0BC2B1466D44788A88916E9E7E80CC2280E00AF3FF565B6
  • IL size576
Referenced calls
Called by
String literals
  • SpellManager
  • .
  • SyncOnSpellCast
  • : Failed to cast spell
  • - Caster:
  • Unknown
  • - ArgsType:
  • received-spell-cast

SyncRemoveCastEntitySpell

public System.Void SyncRemoveCastEntitySpell(CandideServer.MessageModels.Spell.RemoveCastEntitySpellMessage msg)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashB147C47C79D00C53028386A59D99C9881E8255AAD2F4FCB38F5120DA16D0874E
  • Body hash818DDA0837E7C94C932735D002D50B2A7E72E7728699ED9847ABFCF8CC79C832
  • IL size29
Referenced calls
Called by

SyncRemoveCastPlayerSpell

public System.Void SyncRemoveCastPlayerSpell(CandideServer.MessageModels.Spell.RemoveCastPlayerSpellMessage msg)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashAA9C23D5D89CB4E02745A96239F6671EEE6960C8982731B2B20EF15D2ED51E74
  • Body hashBC0E2A6A9405384CCFAE7A1A19D2FA29ECE3C29F4D3751C105C258F931F21F16
  • IL size62
Referenced calls
Called by