Example #1
0
        private static void CompleteMission(Room room,SLOT slot)
        {
            MISSION_TYPE mission = MISSION_TYPE.NA;

            if (slot.passSequence == 1)
            {
                mission = MISSION_TYPE.TOUCHDOWN;
            }
            else if (slot.passSequence == 2)
            {
                mission = MISSION_TYPE.TOUCHDOWN_ACE_ATTACKER;
            }
            else if (slot.passSequence == 3)
            {
                mission = MISSION_TYPE.TOUCHDOWN_HATTRICK;
            }
            else if (slot.passSequence >= 4)
            {
                mission = MISSION_TYPE.TOUCHDOWN_GAME_MAKER;
            }
            if (mission != MISSION_TYPE.NA)
            {
                AllUtils.CompleteMission(room,slot,mission,0);
            }
        }
Example #2
0
        private static void CompleteMission(Room room, SLOT slot)
        {
            MISSION_TYPE autoComplete = MISSION_TYPE.NA;

            if (slot.passSequence == 1)
            {
                autoComplete = MISSION_TYPE.TOUCHDOWN;
            }
            else if (slot.passSequence == 2)
            {
                autoComplete = MISSION_TYPE.TOUCHDOWN_ACE_ATTACKER;
            }
            else if (slot.passSequence == 3)
            {
                autoComplete = MISSION_TYPE.TOUCHDOWN_HATTRICK;
            }
            else if (slot.passSequence >= 4)
            {
                autoComplete = MISSION_TYPE.TOUCHDOWN_GAME_MAKER;
            }
            if (autoComplete == MISSION_TYPE.NA)
            {
                return;
            }
            AllUtils.CompleteMission(room,slot,autoComplete,0);
        }
Example #3
0
 public void RegisterEvent(CPlayer Owner, MISSION_TYPE MissionType, CPlayer PlayerKilled, CInventoryItem InventoryItem)
 {
     testPINVOKE.CMissionManager_RegisterEvent__SWIG_2(swigCPtr, CPlayer.getCPtr(Owner), (int)MissionType, CPlayer.getCPtr(PlayerKilled), CInventoryItem.getCPtr(InventoryItem));
 }
Example #4
0
 public void RegisterEvent(CPlayer Owner, MISSION_TYPE MissionType, CPlayer PlayerKilled, CInventoryItem InventoryItem, CProjectile Projectile, SWIGTYPE_p_void UserData)
 {
     testPINVOKE.CMissionManager_RegisterEvent__SWIG_0(swigCPtr, CPlayer.getCPtr(Owner), (int)MissionType, CPlayer.getCPtr(PlayerKilled), CInventoryItem.getCPtr(InventoryItem), CProjectile.getCPtr(Projectile), SWIGTYPE_p_void.getCPtr(UserData));
 }
Example #5
0
 public void RegisterEvent(CPlayer Owner, MISSION_TYPE MissionType)
 {
     testPINVOKE.CMissionManager_RegisterEvent__SWIG_4(swigCPtr, CPlayer.getCPtr(Owner), (int)MissionType);
 }