mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 17:38:10 +08:00
43 lines
1.5 KiB
C#
43 lines
1.5 KiB
C#
// ---------------------------------------------------------------------------------------------
|
|
// Copyright (c) 2021-2023, Jiaqi Liu. All rights reserved.
|
|
// See LICENSE file in the project root for license information.
|
|
// ---------------------------------------------------------------------------------------------
|
|
|
|
namespace Pal3.Command.SceCommands
|
|
{
|
|
#if PAL3
|
|
[AvailableInConsole]
|
|
[SceCommand(145, "设置目标角色等级(所有当前角色等级的平均值+增加值)," +
|
|
"参数:角色ID,等级增加值")]
|
|
public class PlayerSetActorLevelCommand : ICommand
|
|
{
|
|
public PlayerSetActorLevelCommand(int actorId, int levelIncrease)
|
|
{
|
|
ActorId = actorId;
|
|
LevelIncrease = levelIncrease;
|
|
}
|
|
|
|
public int ActorId { get; }
|
|
public int LevelIncrease { get; }
|
|
}
|
|
#elif PAL3A
|
|
[AvailableInConsole]
|
|
[SceCommand(145, "设置目标角色等级(所有当前角色等级的平均值+增加值)," +
|
|
"参数:角色ID,等级增加值")]
|
|
public class PlayerSetActorLevelCommand : ICommand
|
|
{
|
|
public PlayerSetActorLevelCommand(int actorId, int unknown1, int unknown2, int levelIncrease)
|
|
{
|
|
ActorId = actorId;
|
|
Unknown1 = unknown1;
|
|
Unknown2 = unknown2;
|
|
LevelIncrease = levelIncrease;
|
|
}
|
|
|
|
public int ActorId { get; }
|
|
public int Unknown1 { get; }
|
|
public int Unknown2 { get; }
|
|
public int LevelIncrease { get; }
|
|
}
|
|
#endif
|
|
} |