Even More Modifiers
1.0.0.0
A mod for rolling various bonus stats on items
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
EssenceCommand.cs
Go to the documentation of this file.
1
using
System
;
2
using
System
.Collections.Generic;
3
using
System
.Linq;
4
using
System
.Text;
5
using
System
.Threading.Tasks;
6
using
Terraria
.ModLoader;
7
8
namespace
Loot
.Soulforging
9
{
10
class
EssenceCommand
:
Terraria
.ModLoader.ModCommand
11
{
12
public
override
void
Action
(CommandCaller caller,
string
input,
string
[] args)
13
{
14
if
(
int
.TryParse(args[0], out
int
essence))
15
{
16
caller.Player.GetModPlayer<LootEssencePlayer>().GainEssence(essence);
17
}
18
}
19
20
public
override
string
Command =>
"addEssence"
;
21
22
public
override
CommandType Type => CommandType.Chat;
23
}
24
}
Loot
System
Loot.Soulforging.EssenceCommand
Definition:
EssenceCommand.cs:10
Terraria
Loot.Soulforging.EssenceCommand.Action
override void Action(CommandCaller caller, string input, string[] args)
Definition:
EssenceCommand.cs:12
Soulforging
EssenceCommand.cs
Generated on Sat Apr 18 2020 16:45:40 for Even More Modifiers by
1.8.11