초기커밋
This commit is contained in:
24
GameServer/Contents/Claim/ClaimCheat.cs
Normal file
24
GameServer/Contents/Claim/ClaimCheat.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
[ChatCommandAttribute("resetclaim", typeof(ChatCommandResetClaim), AuthAdminLevelType.Developer, AuthAdminLevelType.GmNormal, AuthAdminLevelType.GmSuper)]
|
||||
internal class ChatCommandResetClaim : ChatCommandBase
|
||||
{
|
||||
public override async Task invoke(Player player, string token, string[] args)
|
||||
{
|
||||
var claim_action = player.getEntityAction<ClaimAction>();
|
||||
|
||||
await claim_action.cheatClaimReset();
|
||||
}
|
||||
}
|
||||
|
||||
[ChatCommandAttribute("claimupdaterewardable", typeof(ChatCommandRewardClaim), AuthAdminLevelType.Developer, AuthAdminLevelType.GmNormal, AuthAdminLevelType.GmSuper)]
|
||||
internal class ChatCommandRewardClaim : ChatCommandBase
|
||||
{
|
||||
public override async Task invoke(Player player, string token, string[] args)
|
||||
{
|
||||
var claim_action = player.getEntityAction<ClaimAction>();
|
||||
await claim_action.cheatClaimUpdateRewardable();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user