Beispiel #1
0
    public CGameObject GetGameObject(SWIGTYPE_p_Entity entity)
    {
        IntPtr      cPtr = testPINVOKE.CGameObjectManager_GetGameObject__SWIG_0(swigCPtr, SWIGTYPE_p_Entity.getCPtr(entity));
        CGameObject ret  = (cPtr == IntPtr.Zero) ? null : new CGameObject(cPtr, false);

        return(ret);
    }
Beispiel #2
0
    public SWIGTYPE_p_Entity GetEntity()
    {
        IntPtr            cPtr = testPINVOKE.CBuilding_GetEntity(swigCPtr);
        SWIGTYPE_p_Entity ret  = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_Entity(cPtr, false);

        return(ret);
    }
 internal static HandleRef getCPtr(SWIGTYPE_p_Entity obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }