public static void PlayerLost(MyPlayer.PlayerId id, int triggerIndex)
 {
     MySessionComponentMissionTriggers.Static.SetLost(id, triggerIndex);
     if (!Sync.MultiplayerActive || !MySession.Static.IsScenario)
         return;
     LostMsg msg = new LostMsg();
     msg.index = triggerIndex;
     msg.playerId = id;
     Sync.Layer.SendMessageToAll(ref msg, MyTransportMessageEnum.Success);
 }
        public static void PlayerLost(MyPlayer.PlayerId id, int triggerIndex)
        {
            MySessionComponentMissionTriggers.Static.SetLost(id, triggerIndex);
            if (!Sync.MultiplayerActive || !MySession.Static.IsScenario)
            {
                return;
            }
            LostMsg msg = new LostMsg();

            msg.index    = triggerIndex;
            msg.playerId = id;
            Sync.Layer.SendMessageToAll(ref msg, MyTransportMessageEnum.Success);
        }
 static void PlayerLostSuccess(ref LostMsg msg, MyNetworkClient sender)
 {
     MySessionComponentMissionTriggers.Static.SetLost(msg.playerId, msg.index);
 }
 static void PlayerLostSuccess(ref LostMsg msg, MyNetworkClient sender)
 {
     MySessionComponentMissionTriggers.Static.SetLost(msg.playerId, msg.index);
 }