Romestead Assembly Reference

CandideServer.ServerManagers.SpellServerManager

Type JSON

public class in CandideServer.ServerManagers

Methods5
Properties0
Fields1
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.ServerManagers
  • Base typeSystem.Object
  • HashADFFBB670E73A87CE202B1E651E0BD8BB0823BD25C85EE18C6E64C55A5491221

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
NextSpellCastIdpublicpublic System.UInt16 NextSpellCastId

Methods

CastNonPlayerWeaponSpell

public System.Void CastNonPlayerWeaponSpell(CandideServer.Models.Spells.ServerSpellCastingContext context, Shared.Helpers.CastSpellArgs castSpellArgs, CandideServer.SyncStrategies.SyncStrategy syncStrategy)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash8BFAC1AF5A3A64E3A875DD20A101BC62758FDB2296849762644A860D46E48DFA
  • Body hash0D042AFC50E6B15F92960E8F378127EC9FF6922829081EE0D91D5D15C4CDF94D
  • IL size480
Referenced calls
Called by
String literals
  • SpellServerManager
  • .
  • CastNonPlayerWeaponSpell
  • : Failed to cast spell
  • - Caster:
  • - ArgsType:
  • spells-on-spell-cast

CreateSpellArgs

public Shared.Helpers.CastSpellArgs CreateSpellArgs(Shared.Models.Spells.SpellDataModel spell, Shared.Models.Spells.AttackSpellArgs overrideAttackSpellArgs, CandideServer.Entities.ServerEntityModel castingEntity)

Method metadata
  • Visibilitypublic
  • Return typeShared.Helpers.CastSpellArgs
  • StaticTrue
  • VirtualFalse
  • HashBAAF317924BBF237CA5AB0EEBAC5B5E873D605E4FA1525DAEF1B13D2CA67035E
  • Body hashB9AB7FBD7EFF37A732003ED229B1A255B0169D09FFAEC81948A428CECDE1A12D
  • IL size184
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
  • HashD912F03854C6AD169F3DCBF99AC68BEBD47D16448D2D328387E84B4ABB396507
  • Body hash28317CA6F1281ACFF19B7581805648DA5A685BB456E9670F5B9D7E62663DEE9D
  • IL size110
Referenced calls
Called by
String literals
  • SpellServerManager: Couldn't find spell with ID
  • SpellServerManager: Override arguments are not compatible with the cast spell.
  • SpellServerManager: Unknown spelltype

TryCastSnapshotSpell

public System.Boolean TryCastSnapshotSpell(CandideServer.Models.Spells.ServerSpellCastingContext context, Shared.Helpers.CastSpellArgs castSpellArgs, CandideServer.SyncStrategies.SyncStrategy syncStrategy)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash15AD8FB702A0E09FC8CD83550070B571936B5313FA8FAF33CEC19ADD7A19ECC4
  • Body hashE5AA9A5EB3A4A6EC44F3A42E6CA6343FD1B118BF1EDC193491C9C38222237D4F
  • IL size608
Referenced calls
Called by
String literals
  • SpellServerManager
  • .
  • TryCastSnapshotSpell
  • : Failed to cast spell
  • - Caster:
  • - ArgsType:
  • TryCastSnapshotSpell failed because we can't use item with ID:
  • spells-on-spell-cast

TryCastSpell

public System.Boolean TryCastSpell(System.String spellId, System.Nullable<Microsoft.Xna.Framework.Vector3> position, System.Nullable<System.Single> direction, CandideServer.Entities.ServerEntityModel 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, System.Boolean castByPlayer)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • HashC01317107C2E5C5CCB7FDC379CCD4723C6C5183ECA851F02718DFCF4285446C6
  • Body hash7B3F108BADB0ED4A966C4595CBB9F1093992137CD9A770BE3703B31F6D67A0BD
  • IL size202
Referenced calls
Called by
String literals
  • Error creating spell args for spell with ID