Example #1
0
        public static bool Initialize(Callbacks inits)
        {
            var nativeCallbacks = inits.NativeData;

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

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