Class LevelModuleBetterEvents
Inheritance
System.Object
ThunderRoad.LevelModule
LevelModuleBetterEvents
Inherited Members
ThunderRoad.LevelModule.type
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: !BetterMods.dll
Syntax
public class LevelModuleBetterEvents : LevelModule
Fields
|
Improve this Doc
View Source
currentLevel
Declaration
public Level currentLevel
Field Value
Type |
Description |
ThunderRoad.Level |
|
|
Improve this Doc
View Source
debugMessages
Declaration
public bool debugMessages
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
levelModuleWave
Declaration
protected LevelModuleWave levelModuleWave
Field Value
Type |
Description |
ThunderRoad.LevelModuleWave |
|
|
Improve this Doc
View Source
local
Declaration
public static LevelModuleBetterEvents local
Field Value
|
Improve this Doc
View Source
spellCasterLeft
Declaration
public SpellCaster spellCasterLeft
Field Value
Type |
Description |
ThunderRoad.SpellCaster |
|
|
Improve this Doc
View Source
spellCasterRight
Declaration
public SpellCaster spellCasterRight
Field Value
Type |
Description |
ThunderRoad.SpellCaster |
|
Methods
|
Improve this Doc
View Source
GetCreatureState(Creature)
Declaration
public HashSet<BetterEvents.CreatureState> GetCreatureState(Creature creature)
Parameters
Type |
Name |
Description |
ThunderRoad.Creature |
creature |
|
Returns
|
Improve this Doc
View Source
GetDamageArea(Creature, CollisionInstance)
The area that was hit, head/neck/body etc
Declaration
public BetterEvents.DamageArea GetDamageArea(Creature creature, CollisionInstance collisionInstance)
Parameters
Type |
Name |
Description |
ThunderRoad.Creature |
creature |
|
ThunderRoad.CollisionInstance |
collisionInstance |
|
Returns
|
Improve this Doc
View Source
GetDamageType(CollisionInstance)
The type of damage, stabbing, blunt, energy, shock etc
Declaration
public DamageType GetDamageType(CollisionInstance collisionInstance)
Parameters
Type |
Name |
Description |
ThunderRoad.CollisionInstance |
collisionInstance |
|
Returns
Type |
Description |
ThunderRoad.DamageType |
|
|
Improve this Doc
View Source
GetHitDirection(Creature, CollisionInstance)
Returns the direction a creature was hit, ie Direction.back is backstabbed
Declaration
public BetterEvents.Direction GetHitDirection(Creature creature, CollisionInstance collisionInstance)
Parameters
Type |
Name |
Description |
ThunderRoad.Creature |
creature |
|
ThunderRoad.CollisionInstance |
collisionInstance |
|
Returns
|
Improve this Doc
View Source
GetHitStates(CollisionInstance)
Declaration
public HashSet<BetterEvents.HitState> GetHitStates(CollisionInstance collisionInstance)
Parameters
Type |
Name |
Description |
ThunderRoad.CollisionInstance |
collisionInstance |
|
Returns
|
Improve this Doc
View Source
GetPenetrationType(CollisionInstance)
Declaration
public DamageStruct.Penetration GetPenetrationType(CollisionInstance collisionInstance)
Parameters
Type |
Name |
Description |
ThunderRoad.CollisionInstance |
collisionInstance |
|
Returns
Type |
Description |
ThunderRoad.DamageStruct.Penetration |
|
|
Improve this Doc
View Source
OnLoadCoroutine(Level)
Declaration
public override IEnumerator OnLoadCoroutine(Level level)
Parameters
Type |
Name |
Description |
ThunderRoad.Level |
level |
|
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Overrides
ThunderRoad.LevelModule.OnLoadCoroutine(ThunderRoad.Level)
|
Improve this Doc
View Source
OnUnload(Level)
Declaration
public override void OnUnload(Level level)
Parameters
Type |
Name |
Description |
ThunderRoad.Level |
level |
|
Overrides
ThunderRoad.LevelModule.OnUnload(ThunderRoad.Level)
|
Improve this Doc
View Source
ToggleDebug()
Declaration
public static void ToggleDebug()
|
Improve this Doc
View Source
Update(Level)
Declaration
public override void Update(Level level)
Parameters
Type |
Name |
Description |
ThunderRoad.Level |
level |
|
Overrides
ThunderRoad.LevelModule.Update(ThunderRoad.Level)