Ejemplo n.º 1
0
        internal void OnCrewChanged(GameEvents.HostedFromToAction <ProtoCrewMember, Part> transferredData)
        {
            LaunchEvent launch = GetLaunch(transferredData.from.vessel);

            if (launch != null)
            {
                launch.checkCrew();
            }
            launch = GetLaunch(transferredData.to.vessel);
            if (launch != null)
            {
                launch.checkCrew();
            }
        }
Ejemplo n.º 2
0
        internal void OnCrewChanged(GameEvents.FromToAction <Part, Part> evaBoardData)
        {
            LaunchEvent launch = GetLaunch(evaBoardData.from.vessel);

            if (launch != null)
            {
                launch.checkCrew();
            }
            launch = GetLaunch(evaBoardData.to.vessel);
            if (launch != null)
            {
                launch.checkCrew();
            }
        }
Ejemplo n.º 3
0
        internal void OnCrewChanged(EventReport killedData)
        {
            LaunchEvent launch = GetLaunch(killedData.origin.vessel);

            if (launch != null)
            {
                launch.checkCrew();
            }
            //throw new NotImplementedException();
        }