feat(battle-engine): copy-loop closure to 3282 files (member-surface frontier)
This commit is contained in:
24
SVSim.BattleEngine/Engine/Wizard/GatheringKickTask.cs
Normal file
24
SVSim.BattleEngine/Engine/Wizard/GatheringKickTask.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
namespace Wizard;
|
||||
|
||||
public class GatheringKickTask : BaseTask
|
||||
{
|
||||
public class GatheringKickTaskParam : BaseParam
|
||||
{
|
||||
public string target_viewer_id;
|
||||
|
||||
public int is_restrict;
|
||||
}
|
||||
|
||||
public GatheringKickTask()
|
||||
{
|
||||
base.type = ApiType.Type.GatheringKick;
|
||||
}
|
||||
|
||||
public void SetParameter(string targetViewerId, bool isRestrict)
|
||||
{
|
||||
GatheringKickTaskParam gatheringKickTaskParam = new GatheringKickTaskParam();
|
||||
gatheringKickTaskParam.target_viewer_id = targetViewerId;
|
||||
gatheringKickTaskParam.is_restrict = (isRestrict ? 1 : 0);
|
||||
base.Params = gatheringKickTaskParam;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user