Romestead Assembly Reference

CandideServer.Entities.ControllerSets.Catapult.ServerCatapultController

Type JSON

public class in CandideServer.Entities.ControllerSets.Catapult

Methods18
Properties1
Fields14
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.Entities.ControllerSets.Catapult
  • Base typeShared.Entity.Base.AbstractController
  • Hash3B875E5936F50137A2B70688C54632C9277B81B7365036880116237150B7273B

Relationships

Fields

NameVisibilitySignature
AimRangepublicpublic System.Single AimRange
CarryingOffsetpublicpublic Microsoft.Xna.Framework.Vector3 CarryingOffset
DefaultRangepublicpublic System.Single DefaultRange
DriverRelativeAimPospublicpublic Microsoft.Xna.Framework.Vector2 DriverRelativeAimPos
EnemyCatapultFiringCooldownprivateprivate System.Single EnemyCatapultFiringCooldown
LastSyncPosprivateprivate Microsoft.Xna.Framework.Vector2 LastSyncPos
MinRangepublicpublic System.Single MinRange
NetworkSyncTimerprivateprivate System.Single NetworkSyncTimer
ParameterValue1Namepublicpublic System.String ParameterValue1Name
ParameterValue2Namepublicpublic System.String ParameterValue2Name
PreSetThrowArgspublicpublic Shared.Helpers.CastSpellArgs PreSetThrowArgs
UpgradeLevelParameterIdpublicpublic System.String UpgradeLevelParameterId
_hasFiredprivateprivate System.Boolean _hasFired
_upgradeLevelprivateprivate System.Int32 _upgradeLevel

Properties

NameVisibilitySignature
GetRotationAnglepublicpublic System.Single GetRotationAngle

Methods

EntityInitialize

public System.Void EntityInitialize()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash1FBFDA0A4652C1A428266B1B1121A924320EB4C5456940B5BA6E8CE7C3235F4A
  • Body hash10B766F7E9CB0CDF9CADF07214C13B2CC502E6474AA2314CB082F7297D33CCEC
  • IL size36
Referenced calls
String literals
  • upgrade_level

GetAimWorldPos

private Microsoft.Xna.Framework.Vector2 GetAimWorldPos()

Method metadata
  • Visibilityprivate
  • Return typeMicrosoft.Xna.Framework.Vector2
  • StaticFalse
  • VirtualFalse
  • Hash6F6EBFFA47061398CFDA04771DFD539315C7098E5B13981C7013937E19EE938E
  • Body hash6AA83E9E0ECD77264E2C324D9F714696DE12D33630C1DA687B2DA3BFB9EF0689
  • IL size44
Referenced calls
Called by

GetDirectionStep

private System.Single GetDirectionStep()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Single
  • StaticTrue
  • VirtualFalse
  • Hash01FC7E4F404B58E817CE1EAEF5BE0D5C4552FB1E86FD0B006353F75D42C94A13
  • Body hashFF0DDA7A62AB36A2A49C0AD0727F2F8C8F6F12D3AE581D1C284A17F59B6B45EB
  • IL size6

GetReloadingSpeed

public System.Single GetReloadingSpeed(System.Int32 upgradeLevel)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Single
  • StaticTrue
  • VirtualFalse
  • Hash85940F519F606BB0F6CF1EB6FA4BE7B29B991ADDDBEF7C6685E2C5D895FE55D5
  • Body hash0C3FC813C84B29D952CDC90DB38E99D917A1693DAB2633C0EB9EDB02B83EB327
  • IL size34

OnDamaged

public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash4AF6F9E4EA9B6386075AC631D3B1F2004FD08C1109DB7D53A975659AE923A792
  • Body hash9CAA4A572F62A00BB71A7487CA122FDFB43C3703E939F62D70056AF40896BEE3
  • IL size29
Referenced calls
String literals
  • WorldStats_ArmamentsDamageResistance

OnEntityAttached

public System.Void OnEntityAttached(Shared.Entity.EntityWrapper carriedEntity)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash33C0B91DF34684170305522B29C429F27A842BBCF9CF1A3F83CD4245C98895CD
  • Body hashFCA03F7CE39817C49CB65EE8A2EAB9DC02B8F4B7E3E6FDCC4B3E843D5984BFD0
  • IL size15
Referenced calls
  • Shared.Entity.EntityWrapper::set_NoEntityCollision(System.Boolean)
  • Shared.Entity.EntityWrapper::set_NoTerrainCollision(System.Boolean)

OnEntityDetached

public System.Void OnEntityDetached(Shared.Entity.EntityWrapper carriedEntity)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash1F60180D5DC7841FB55ADEE590218CE7F2EAF09328B37EBC0DA35572447F4C88
  • Body hash2B423DBA75F6BE3B9B98841DD0A51DCC4E2A3FB22612E696E682AC09645DD90B
  • IL size15
Referenced calls
  • Shared.Entity.EntityWrapper::set_NoEntityCollision(System.Boolean)
  • Shared.Entity.EntityWrapper::set_NoTerrainCollision(System.Boolean)

OnServerSetState

public System.Void OnServerSetState(System.Int32 state)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash02A27CE343E8553CB20EA15D1DE9C9045CF072971E1EE4B027728570B3E538FF
  • Body hashAE6C88EE715E036B29EC2B75D5003C27D464AAD5EAE422B3ECAE01428C0E926B
  • IL size8
Referenced calls

PerformVehicleAction

public System.Void PerformVehicleAction(System.Int32 action, System.Object args)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash4BAC45B536A1E0C3DF0B8C584118BC95E753CF678E759A0E8E707A12DE0AB98B
  • Body hash4F92FEC9FF6392E5082C723EE0E5AA0B67E446D8E236603C9FFC5A453D316B5F
  • IL size72
Referenced calls

SendAimPos

public System.Void SendAimPos()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash00318CAD2D54E08689313B05C258ABFB06E540251B6B31AB4F0FFC3700CFE859
  • Body hashA8B5A557183E4673E03025F6FA841FAF9E1FA36127FD42263A50A771B136A3DC
  • IL size29
Referenced calls

SetAimPosition

public System.Void SetAimPosition(System.Single aimX, System.Single aimY)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash781AF58B57B7AB9D812C546FDBE8D4132635F7B0CC4881B104EAFE9974976EE1
  • Body hashB00400C9685EFA1FF95F4CF597205805A5C704B404B1279A1172E23977E32A65
  • IL size14
Referenced calls
  • Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)
Called by

SetState

private System.Void SetState(System.Int32 state)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashB94D298CEB5C81499E54CAE81548BF7712CDA71009958D340137BF6E8443525B
  • Body hashB164EBA09E24956E8B51A9733CCEF7C4E5C24EB6105516F49A9BCE6A2115A104
  • IL size46
Referenced calls
Called by

SpellArgs_NonPlayer

private Shared.Helpers.CastSpellArgs SpellArgs_NonPlayer(Shared.Entity.EntityWrapper thrower, Shared.Entity.EntityWrapper target)

Method metadata
  • Visibilityprivate
  • Return typeShared.Helpers.CastSpellArgs
  • StaticFalse
  • VirtualFalse
  • Hash86FEE0282A0B0BB3C93ABC4392C6FF749B5FBEF5F30716A1125C32A7FED4CA2E
  • Body hash88036B0BD56A17CE40D21678028BEFF7C8E77D4587991B6AB6F485417415546F
  • IL size233
Referenced calls
String literals
  • shockwave_small
  • throw_object_catapulted_satyr
  • Failed creating catapult snapshot spell args.

TargetPlayer

private System.Void TargetPlayer(System.Guid driverId)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashFEFEAED65F2843E6DFFCDB0609E58F6DAC5E9A921C6395E869E725CD44FFB25B
  • Body hashF2486C8EE19933CB4447D785DF7601974000989DE8838921A1253F8BFC3C10D9
  • IL size788
Referenced calls
Called by
String literals
  • Failed to spawn new pot to put into catapult, even though it was empty. Clearing the carried id field.
  • aura:special:no_loot

Update

public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashA69527D5D4390FAECECD36163E250857F627F6CCDA1DEB92A2D90E880AFC4258
  • Body hash5507F21288A0108D7D989314CEFD1F9A777F91FEBE8435C225D1B1A1F8138DDF
  • IL size1118
Referenced calls
String literals
  • No driver in catapult who just threw
  • Update
  • ServerCatapultController - We do not support yet firing the catapult without PreSetThrowArgs set

UpdateCatapultDirection

public System.Boolean UpdateCatapultDirection(Microsoft.Xna.Framework.Vector2 relativeAimPosition, System.Single& aimDistance, Shared.Entity.EntityWrapper catapultEntity, System.Single dt, System.Int32 upgradeLevel)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash6354CA48AFB0B9367F44D1F1347E8428E73AD7C133C9940A48C54C96838E81E5
  • Body hashC12683DE3ED6014ECF2EAD83998E34F4D6100490B723E621D861026A52B1381D
  • IL size263
Referenced calls
Called by