Пример #1
0
    public CBuilding CreateBuilding(string Type, E_PLAYER_TEAM Team, string LabelName, SWIGTYPE_p_Core__Physics__IPhysicsStrategy PhysicsStrategy)
    {
        IntPtr    cPtr = testPINVOKE.CGameObjectManager_CreateBuilding(swigCPtr, Type, (int)Team, LabelName, SWIGTYPE_p_Core__Physics__IPhysicsStrategy.getCPtr(PhysicsStrategy));
        CBuilding ret  = (cPtr == IntPtr.Zero) ? null : new CBuilding(cPtr, false);

        return(ret);
    }
Пример #2
0
    public CPlayer CreatePlayer(string Type, E_PLAYER_TEAM Team)
    {
        IntPtr  cPtr = testPINVOKE.CGameObjectManager_CreatePlayer__SWIG_3(swigCPtr, Type, (int)Team);
        CPlayer ret  = (cPtr == IntPtr.Zero) ? null : new CPlayer(cPtr, false);

        return(ret);
    }
Пример #3
0
    public CPlayer CreatePlayer(string Type, E_PLAYER_TEAM Team, string LabelName, SWIGTYPE_p_Core__Physics__IPhysicsStrategy PhysicsStrategy, bool isPlayer)
    {
        IntPtr  cPtr = testPINVOKE.CGameObjectManager_CreatePlayer__SWIG_0(swigCPtr, Type, (int)Team, LabelName, SWIGTYPE_p_Core__Physics__IPhysicsStrategy.getCPtr(PhysicsStrategy), isPlayer);
        CPlayer ret  = (cPtr == IntPtr.Zero) ? null : new CPlayer(cPtr, false);

        return(ret);
    }
Пример #4
0
 public void GetTeam(E_PLAYER_TEAM Team, SWIGTYPE_p_std__vectorT_Core__CPlayer_p_t List)
 {
     testPINVOKE.CGameObjectManager_GetTeam(swigCPtr, (int)Team, SWIGTYPE_p_std__vectorT_Core__CPlayer_p_t.getCPtr(List));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #5
0
 public void GetPlayerTrainingList(E_PLAYER_TEAM Team, SWIGTYPE_p_VectorT_u32_t List)
 {
     testPINVOKE.CTrainingManager_GetPlayerTrainingList(swigCPtr, (int)Team, SWIGTYPE_p_VectorT_u32_t.getCPtr(List));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #6
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);
    }
Пример #7
0
    public SWIGTYPE_p_u32 AddSpawnPoint(SWIGTYPE_p_Vector3 Position, E_PLAYER_TEAM Team)
    {
        SWIGTYPE_p_u32 ret = new SWIGTYPE_p_u32(testPINVOKE.CSpawnManager_AddSpawnPoint__SWIG_1(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Position), (int)Team), true);

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #8
0
 public void SetTeam(E_PLAYER_TEAM Team)
 {
     testPINVOKE.CBuilding_SetTeam(swigCPtr, (int)Team);
 }
Пример #9
0
    public E_PLAYER_TEAM GetTeam()
    {
        E_PLAYER_TEAM ret = (E_PLAYER_TEAM)testPINVOKE.CBuilding_GetTeam(swigCPtr);

        return(ret);
    }
Пример #10
0
 public void ChangePlayerTeam(CPlayer Player, E_PLAYER_TEAM Team)
 {
     testPINVOKE.CGameObjectManager_ChangePlayerTeam(swigCPtr, CPlayer.getCPtr(Player), (int)Team);
 }
Пример #11
0
    public bool AddCustomPlayer(CPlayer Player, E_PLAYER_TEAM Team)
    {
        bool ret = testPINVOKE.CGameObjectManager_AddCustomPlayer__SWIG_1(swigCPtr, CPlayer.getCPtr(Player), (int)Team);

        return(ret);
    }
Пример #12
0
    public bool CreateCustomPlayer(CPlayer Player, E_PLAYER_TEAM Team, string LabelName)
    {
        bool ret = testPINVOKE.CGameObjectManager_CreateCustomPlayer__SWIG_2(swigCPtr, CPlayer.getCPtr(Player), (int)Team, LabelName);

        return(ret);
    }
Пример #13
0
    public bool CreateCustomPlayer(CPlayer Player, E_PLAYER_TEAM Team, string LabelName, SWIGTYPE_p_Core__Physics__IPhysicsStrategy PhysicsStrategy)
    {
        bool ret = testPINVOKE.CGameObjectManager_CreateCustomPlayer__SWIG_1(swigCPtr, CPlayer.getCPtr(Player), (int)Team, LabelName, SWIGTYPE_p_Core__Physics__IPhysicsStrategy.getCPtr(PhysicsStrategy));

        return(ret);
    }
Пример #14
0
 public void SetPlayerTeam(E_PLAYER_TEAM Team)
 {
     testPINVOKE.CPlayerPimpl_SetPlayerTeam(swigCPtr, (int)Team);
 }
Пример #15
0
    public bool IsCapable(E_PLAYER_TEAM Team, ET_CAPABILITIES Cap)
    {
        bool ret = testPINVOKE.CTrainingManager_IsCapable(swigCPtr, (int)Team, (int)Cap);

        return(ret);
    }
Пример #16
0
    public E_PLAYER_TEAM GetPlayerTeam()
    {
        E_PLAYER_TEAM ret = (E_PLAYER_TEAM)testPINVOKE.CPlayer_GetPlayerTeam(swigCPtr);

        return(ret);
    }