예제 #1
0
파일: ENet.cs 프로젝트: paulpach/Ignorance
        public static bool Initialize(Callbacks inits)
        {
            var nativeCallbacks = inits.NativeData;

            return(Native.enet_initialize_with_callbacks(version, ref nativeCallbacks) == 0);
        }
예제 #2
0
 public static bool Initialize(Callbacks inits)
 {
     return(Native.enet_initialize_with_callbacks(version, inits.NativeData) == 0);
 }
예제 #3
0
        public static bool Initialize(Callbacks callbacks)
        {
            ENetCallbacks nativeCallbacks = callbacks.NativeData;

            return(Native.enet_initialize_with_callbacks(version, ref nativeCallbacks) == 0);
        }