示例#1
0
    public static CSpawnManager Instance()
    {
        IntPtr        cPtr = testPINVOKE.CSpawnManager_Instance();
        CSpawnManager ret  = (cPtr == IntPtr.Zero) ? null : new CSpawnManager(cPtr, false);

        return(ret);
    }
示例#2
0
 public CManagers()
 {
     Console.WriteLine("amangers {0}", CUtils.GetTickCount());
     performance = new CPerformanceManager();
     account     = new CAccountManager();
     vehicle     = new CVehicleManager();
     spawn       = new CSpawnManager();
     rpc         = new CRPCManager();
     http        = new CHTTPManager();
     //map = new CMapManager();
     admin = new CAdminManager();
     item  = new CItemManager();
 }
示例#3
0
 internal static HandleRef getCPtr(CSpawnManager obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }