Exemplo n.º 1
0
        public static NetworkIDManager GetInstance()
        {
            IntPtr           cPtr = SLikeNetPINVOKE.NetworkIDManager_GetInstance();
            NetworkIDManager ret  = (cPtr == IntPtr.Zero) ? null : new NetworkIDManager(cPtr, false);

            return(ret);
        }
Exemplo n.º 2
0
        public virtual NetworkIDManager GetNetworkIDManager()
        {
            IntPtr           cPtr = (SwigDerivedClassHasMethod("GetNetworkIDManager", swigMethodTypes1) ? SLikeNetPINVOKE.NetworkIDObject_GetNetworkIDManagerSwigExplicitNetworkIDObject(swigCPtr) : SLikeNetPINVOKE.NetworkIDObject_GetNetworkIDManager(swigCPtr));
            NetworkIDManager ret  = (cPtr == IntPtr.Zero) ? null : new NetworkIDManager(cPtr, false);

            return(ret);
        }
Exemplo n.º 3
0
 protected void SetNetworkIDManagerOrig(NetworkIDManager manager)
 {
     if (SwigDerivedClassHasMethod("SetNetworkIDManagerOrig", swigMethodTypes0))
     {
         SLikeNetPINVOKE.NetworkIDObject_SetNetworkIDManagerOrigSwigExplicitNetworkIDObject(swigCPtr, NetworkIDManager.getCPtr(manager));
     }
     else
     {
         SLikeNetPINVOKE.NetworkIDObject_SetNetworkIDManagerOrig(swigCPtr, NetworkIDManager.getCPtr(manager));
     }
 }
Exemplo n.º 4
0
 public virtual void SetNetworkIDManager(NetworkIDManager manager)
 {
     if (oldManager != null)
     {
         oldManager.pointerDictionary.Remove(GetIntPtr());
     }
     if (manager != null)
     {
         manager.pointerDictionary.Add(GetIntPtr(), this);
         oldManager = manager;
     }
     SetNetworkIDManagerOrig(manager);
 }
Exemplo n.º 5
0
 public static void DestroyInstance(NetworkIDManager i)
 {
     SLikeNetPINVOKE.NetworkIDManager_DestroyInstance(NetworkIDManager.getCPtr(i));
 }
Exemplo n.º 6
0
 internal static HandleRef getCPtr(NetworkIDManager obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 7
0
 private IntPtr SwigDirectorGetNetworkIDManager()
 {
     return(NetworkIDManager.getCPtr(GetNetworkIDManager()).Handle);
 }