mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 22:04:00 +00:00
refactor manager & add giveall command
- giveall only weapon for now - move all item into SyncPlayer to prevent RspLogin too large
This commit is contained in:
@@ -82,6 +82,7 @@ public class CommandTextEN
|
||||
public NoticeTextEN Notice { get; } = new();
|
||||
public HelpTextEN Help { get; } = new();
|
||||
public GirlTextEN Girl { get; } = new();
|
||||
public GiveAllTextEN GiveAll { get; } = new();
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -193,6 +194,18 @@ public class GirlTextEN
|
||||
public string UpdateLevel => "Set {1} character(s) to level {0}!";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// path: Game.Command.GiveAll
|
||||
/// </summary>
|
||||
public class GiveAllTextEN
|
||||
{
|
||||
public string Desc => "Give all items to player\n"+
|
||||
"Note: -1 means all";
|
||||
public string Usage => "Usage: /giveall weapon <detail/-1> -p<particular> -l<level>";
|
||||
public string WeaponNotFound => "Weapon not found!";
|
||||
public string WeaponAdded => "Added {0} weapon(s) to player!";
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
Reference in New Issue
Block a user