forked from Zamirathe/ZaupShop
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Pustalorc/legacy
Refactor, missed references, update to MySql 8.0.17
- Loading branch information
Showing
13 changed files
with
662 additions
and
990 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,26 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
using System.Collections.Generic; | ||
using Rocket.API; | ||
using Rocket.Unturned.Commands; | ||
using Rocket.Unturned.Player; | ||
using SDG.Unturned; | ||
using UnityEngine; | ||
using fr34kyn01535.Uconomy; | ||
using Steamworks; | ||
|
||
namespace ZaupShop | ||
{ | ||
public class CommandCost : IRocketCommand | ||
{ | ||
public AllowedCaller AllowedCaller => AllowedCaller.Player; | ||
|
||
public string Name => "cost"; | ||
|
||
public string Help => "Tells you the cost of a selected item."; | ||
|
||
public string Syntax => "[v.]<name or id>"; | ||
|
||
public List<string> Aliases => new List<string>(); | ||
|
||
public List<string> Permissions => new List<string>(); | ||
|
||
public AllowedCaller AllowedCaller | ||
{ | ||
get | ||
{ | ||
return AllowedCaller.Player; | ||
} | ||
} | ||
public string Name | ||
{ | ||
get | ||
{ | ||
return "cost"; | ||
} | ||
} | ||
public string Help | ||
{ | ||
get | ||
{ | ||
return "Tells you the cost of a selected item."; | ||
} | ||
} | ||
public string Syntax | ||
{ | ||
get | ||
{ | ||
return "[v.]<name or id>"; | ||
} | ||
} | ||
public List<string> Aliases | ||
{ | ||
get { return new List<string>(); } | ||
} | ||
public List<string> Permissions | ||
{ | ||
get { return new List<string>(); } | ||
} | ||
public void Execute(IRocketPlayer playerid, string[] msg) | ||
{ | ||
ZaupShop.Instance.Cost((UnturnedPlayer)playerid, msg); | ||
ZaupShop.Instance.Cost((UnturnedPlayer) playerid, msg); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.