You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.7 KiB
56 lines
1.7 KiB
4 years ago
|
using AX.InputSystem;
|
||
|
using AX.MessageSystem;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class MoveManCommand : Command
|
||
|
{
|
||
|
public static readonly MoveManCommand Instance = new MoveManCommand();
|
||
|
|
||
|
public override void Execute(long gameObjID, CmdArgs arg)
|
||
|
{
|
||
|
base.Execute(gameObjID, arg);
|
||
|
MessageDispatcher.SendMessage(gameObjID, "MOVE_MAN_COMMAND", arg);
|
||
|
}
|
||
|
}
|
||
|
public class GuidanceManCommand : Command
|
||
|
{
|
||
|
public static readonly GuidanceManCommand Instance = new GuidanceManCommand();
|
||
|
|
||
|
public override void Execute(long gameObjID, CmdArgs arg)
|
||
|
{
|
||
|
base.Execute(gameObjID, arg);
|
||
|
MessageDispatcher.SendMessage(gameObjID, "GUIDANCE_MAN_COMMAND", arg);
|
||
|
}
|
||
|
}
|
||
|
public class PacifyManCommand : Command
|
||
|
{
|
||
|
public static readonly PacifyManCommand Instance = new PacifyManCommand();
|
||
|
|
||
|
public override void Execute(long gameObjID, CmdArgs arg)
|
||
|
{
|
||
|
base.Execute(gameObjID, arg);
|
||
|
MessageDispatcher.SendMessage(gameObjID, "PACIFY_MAN_COMMAND", arg);
|
||
|
}
|
||
|
}
|
||
|
public class FristAidManCommand : Command
|
||
|
{
|
||
|
public static readonly FristAidManCommand Instance = new FristAidManCommand();
|
||
|
|
||
|
public override void Execute(long gameObjID, CmdArgs arg)
|
||
|
{
|
||
|
base.Execute(gameObjID, arg);
|
||
|
MessageDispatcher.SendMessage(gameObjID, "FRISTAID_MAN_COMMAND", arg);
|
||
|
}
|
||
|
}
|
||
|
public class TrappedMoveFollowGuidePointCommand : Command
|
||
|
{
|
||
|
public static readonly TrappedMoveFollowGuidePointCommand Instance = new TrappedMoveFollowGuidePointCommand();
|
||
|
|
||
|
public override void Execute(long gameObjID, CmdArgs arg)
|
||
|
{
|
||
|
base.Execute(gameObjID, arg);
|
||
|
MessageDispatcher.SendMessage(gameObjID, "TRAPPED_MOVE_FOLLOW_GUIDE_POINT_COMMAND", arg);
|
||
|
}
|
||
|
}
|