using Blue;
///
/// Immersal定位上传事件
///
public class SetImmersalLocalEvent : IEvent
{
public bool isLocation;
}
///
/// 设置Immersal定位上传命令
///
public class SetImmersalLocalCommand : ICommand
{
private bool isLocation;
public SetImmersalLocalCommand(bool isLocation)
{
this.isLocation = isLocation;
}
public void OnExcute()
{
this.SendEvent(new SetImmersalLocalEvent(){isLocation = this.isLocation});
}
}