Exemplo n.º 1
0
        public static bool Initialize(Callbacks inits)
        {
            var nativeCallbacks = inits.NativeData;

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

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