forked from Elfocrash/L2dotNET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdminTest.cs
More file actions
36 lines (29 loc) · 856 Bytes
/
Copy pathAdminTest.cs
File metadata and controls
36 lines (29 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Threading.Tasks;
using L2dotNET.Attributes;
using L2dotNET.Models.Player;
namespace L2dotNET.Commands.Admin
{
[Command(CommandName = "test")]
class AdminTest : AAdminCommand
{
//private L2Player p = null;
//private int spd = 1000;
protected internal override async Task UseAsync(L2Player admin, string alias)
{
await Task.FromResult(1);
//p = admin;
//spd = int.Parse(alias.Split(' ')[1]);
//if (!lp)
// lp = true;
//else
// lp = false;
//new System.Threading.Thread(loopme).Start();
}
//private bool lp = false;
private void Loopme() { }
public AdminTest(IServiceProvider serviceProvider) : base(serviceProvider)
{
}
}
}