Even More Modifiers  1.0.0.0
A mod for rolling various bonus stats on items
Loot.Soulforging.EssenceCommand Class Reference
+ Inheritance diagram for Loot.Soulforging.EssenceCommand:
+ Collaboration diagram for Loot.Soulforging.EssenceCommand:

Public Member Functions

override void Action (CommandCaller caller, string input, string[] args)
 

Public Attributes

override string Command => "addEssence"
 
override CommandType Type => CommandType.Chat
 

Detailed Description

Definition at line 10 of file EssenceCommand.cs.

Member Function Documentation

override void Loot.Soulforging.EssenceCommand.Action ( CommandCaller  caller,
string  input,
string[]  args 
)

Definition at line 12 of file EssenceCommand.cs.

13  {
14  if (int.TryParse(args[0], out int essence))
15  {
16  caller.Player.GetModPlayer<LootEssencePlayer>().GainEssence(essence);
17  }
18  }

Member Data Documentation

override string Loot.Soulforging.EssenceCommand.Command => "addEssence"

Definition at line 20 of file EssenceCommand.cs.

override CommandType Loot.Soulforging.EssenceCommand.Type => CommandType.Chat

Definition at line 22 of file EssenceCommand.cs.