Even More Modifiers  1.0.0.0
A mod for rolling various bonus stats on items
Loot.Pools.AllModifiersPool Class Reference

A modifier pool that always consists of all modifiers Cannot be rolled normally More...

+ Inheritance diagram for Loot.Pools.AllModifiersPool:
+ Collaboration diagram for Loot.Pools.AllModifiersPool:

Public Member Functions

 AllModifiersPool ()
 
override IEnumerable< ModifierGetModifiers ()
 
- Public Member Functions inherited from Loot.Api.Core.ModifierPool
virtual bool CanRoll (ModifierContext ctx)
 Returns if this pool can roll in the given context Returns true by default More...
 
virtual void Clone (ref ModifierPool clone)
 Allows modders to do custom cloning Happens after default cloning More...
 
object Clone ()
 
virtual void Load (Item item, TagCompound tag)
 Allows modder to do custom loading here Use the given TC to pull data you saved using Save(Item,TagCompound) More...
 
virtual void NetReceive (Item item, BinaryReader reader)
 Allows the modder to do custom NetReceive More...
 
virtual void NetSend (Item item, BinaryWriter writer)
 Allows modder to do custom NetSend here More...
 
virtual void Save (Item item, TagCompound tag)
 Allows modder to do custom saving here Use the given TC to put data you want to save, which can be loaded using Load(Item, TagCompound) More...
 

Public Attributes

override float RollChance => 0f
 
- Public Attributes inherited from Loot.Api.Core.ModifierPool
string Name => GetType().Name
 
virtual float RollChance => 1f
 

Additional Inherited Members

- Properties inherited from Loot.Api.Core.ModifierPool
Mod Mod [get, set]
 
Mod ILoadableContentSetter. Mod [set]
 
uint Type [get, set]
 
uint ILoadableContentSetter. Type [set]
 
- Properties inherited from Loot.Api.Content.ILoadableContent
Mod Mod [get]
 
string Name [get]
 
uint Type [get]
 

Detailed Description

A modifier pool that always consists of all modifiers Cannot be rolled normally

Definition at line 12 of file AllModifiersPool.cs.

Constructor & Destructor Documentation

Loot.Pools.AllModifiersPool.AllModifiersPool ( )

Definition at line 19 of file AllModifiersPool.cs.

20  {
21  Mod = Loot.Instance;
22  Type = 1;
23  }

Member Function Documentation

override IEnumerable<Modifier> Loot.Pools.AllModifiersPool.GetModifiers ( )
virtual

Reimplemented from Loot.Api.Core.ModifierPool.

Member Data Documentation

override float Loot.Pools.AllModifiersPool.RollChance => 0f

Definition at line 14 of file AllModifiersPool.cs.