Пример #1
0
 public void SetCurrCamera(SWIGTYPE_p_u32 Index)
 {
     testPINVOKE.CCameraManager_SetCurrCamera(swigCPtr, SWIGTYPE_p_u32.getCPtr(Index));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void SetCharacterHeight(SWIGTYPE_p_u32 height)
 {
     testPINVOKE.MovableTextOverlayAttributes_SetCharacterHeight(swigCPtr, SWIGTYPE_p_u32.getCPtr(height));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #3
0
 public void SetAutoDisableSteps(SWIGTYPE_p_u32 Steps)
 {
     testPINVOKE.CPhysicsProfile_SetAutoDisableSteps(swigCPtr, SWIGTYPE_p_u32.getCPtr(Steps));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
    public bool RemoveFacility(E_PLAYER_TEAM Team, SWIGTYPE_p_u32 BuildingType)
    {
        bool ret = testPINVOKE.CTrainingManager_RemoveFacility(swigCPtr, (int)Team, SWIGTYPE_p_u32.getCPtr(BuildingType));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #5
0
    public bool SpawnPlayer(SWIGTYPE_p_u32 Id, CPlayer Player)
    {
        bool ret = testPINVOKE.CSpawnManager_SpawnPlayer__SWIG_0(swigCPtr, SWIGTYPE_p_u32.getCPtr(Id), CPlayer.getCPtr(Player));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #6
0
    public SWIGTYPE_p_u32 AddSpawnPoint(SWIGTYPE_p_u32 Id, SWIGTYPE_p_Vector3 Position, E_PLAYER_TEAM Team)
    {
        SWIGTYPE_p_u32 ret = new SWIGTYPE_p_u32(testPINVOKE.CSpawnManager_AddSpawnPoint__SWIG_3(swigCPtr, SWIGTYPE_p_u32.getCPtr(Id), SWIGTYPE_p_Vector3.getCPtr(Position), (int)Team), true);

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #7
0
    public bool RemoveSpawnPoint(SWIGTYPE_p_u32 Id)
    {
        bool ret = testPINVOKE.CSpawnManager_RemoveSpawnPoint(swigCPtr, SWIGTYPE_p_u32.getCPtr(Id));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #8
0
    public bool GetPathByIndex(SWIGTYPE_p_u32 Index, SWIGTYPE_p_VectorT_Vector3_t Path)
    {
        bool ret = testPINVOKE.CCharacterStateManager_GetPathByIndex__SWIG_1(swigCPtr, SWIGTYPE_p_u32.getCPtr(Index), SWIGTYPE_p_VectorT_Vector3_t.getCPtr(Path));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #9
0
    public SWIGTYPE_p_OIS__JoyStick GetJoystick(SWIGTYPE_p_u32 Index)
    {
        IntPtr cPtr = testPINVOKE.CInputManager_GetJoystick(swigCPtr, SWIGTYPE_p_u32.getCPtr(Index));
        SWIGTYPE_p_OIS__JoyStick ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_OIS__JoyStick(cPtr, false);

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #10
0
    public SPAWN_POINT GetSpawnPoint(SWIGTYPE_p_u32 Id)
    {
        IntPtr      cPtr = testPINVOKE.CSpawnManager_GetSpawnPoint__SWIG_0(swigCPtr, SWIGTYPE_p_u32.getCPtr(Id));
        SPAWN_POINT ret  = (cPtr == IntPtr.Zero) ? null : new SPAWN_POINT(cPtr, false);

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #11
0
    public CCharacterState GetState(E_PLAYER_STATE Type, CPlayer Player, SWIGTYPE_p_u32 Level)
    {
        IntPtr          cPtr = testPINVOKE.CCharacterStateManager_GetState__SWIG_0(swigCPtr, (int)Type, CPlayer.getCPtr(Player), SWIGTYPE_p_u32.getCPtr(Level));
        CCharacterState ret  = (cPtr == IntPtr.Zero) ? null : new CCharacterState(cPtr, false);

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #12
0
    public SWIGTYPE_p_u32 GetNumOfJoysticks()
    {
        SWIGTYPE_p_u32 ret = new SWIGTYPE_p_u32(testPINVOKE.CInputManager_GetNumOfJoysticks(swigCPtr), true);

        return(ret);
    }
Пример #13
0
    public SWIGTYPE_p_u32 GetAutoDisableSteps()
    {
        SWIGTYPE_p_u32 ret = new SWIGTYPE_p_u32(testPINVOKE.CPhysicsProfile_GetAutoDisableSteps(swigCPtr), true);

        return(ret);
    }
Пример #14
0
 internal static HandleRef getCPtr(SWIGTYPE_p_u32 obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Пример #15
0
    public SWIGTYPE_p_u32 GetLevel()
    {
        SWIGTYPE_p_u32 ret = new SWIGTYPE_p_u32(testPINVOKE.CCharacterState_GetLevel(swigCPtr), true);

        return(ret);
    }
Пример #16
0
    public SWIGTYPE_p_u32 GetPathCount()
    {
        SWIGTYPE_p_u32 ret = new SWIGTYPE_p_u32(testPINVOKE.CCharacterStateManager_GetPathCount(swigCPtr), true);

        return(ret);
    }