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