Class Bootstrap
- Namespace
- KSP.Networking.MP.Utils
- Assembly
- Assembly-CSharp.dll
public class Bootstrap : IDisposable
- Inheritance
-
Bootstrap
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
Bootstrap(OnCreateCallbackDelegate, OnDestroyCallbackDelegate)
public Bootstrap(Bootstrap.OnCreateCallbackDelegate onCreateCallback, Bootstrap.OnDestroyCallbackDelegate onDestroyCallback)
Parameters
onCreateCallback Bootstrap.OnCreateCallbackDelegate
onDestroyCallback Bootstrap.OnDestroyCallbackDelegate
Fields
DEFAULT_ON_CREATE_CALLBACK
public const Bootstrap.OnCreateCallbackDelegate DEFAULT_ON_CREATE_CALLBACK = null
Field Value
- Bootstrap.OnCreateCallbackDelegate
DEFAULT_ON_DESTROY_CALLBACK
public const Bootstrap.OnDestroyCallbackDelegate DEFAULT_ON_DESTROY_CALLBACK = null
Field Value
- Bootstrap.OnDestroyCallbackDelegate
Properties
OnCreateCallback
public Bootstrap.OnCreateCallbackDelegate OnCreateCallback { get; }
Property Value
- Bootstrap.OnCreateCallbackDelegate
OnDestroyCallback
public Bootstrap.OnDestroyCallbackDelegate OnDestroyCallback { get; }
Property Value
- Bootstrap.OnDestroyCallbackDelegate
Methods
Create(OnCreateCallbackDelegate, OnDestroyCallbackDelegate)
public static Bootstrap Create(Bootstrap.OnCreateCallbackDelegate onCreateCallback, Bootstrap.OnDestroyCallbackDelegate onDestroyCallback)
Parameters
onCreateCallback Bootstrap.OnCreateCallbackDelegate
onDestroyCallback Bootstrap.OnDestroyCallbackDelegate
Returns
- Bootstrap
Dispose()
~Bootstrap()
Init(OnCreateCallbackDelegate, OnDestroyCallbackDelegate)
public void Init(Bootstrap.OnCreateCallbackDelegate onCreateCallback, Bootstrap.OnDestroyCallbackDelegate onDestroyCallback)
Parameters
onCreateCallback Bootstrap.OnCreateCallbackDelegate
onDestroyCallback Bootstrap.OnDestroyCallbackDelegate
SetOnCreateCallback(OnCreateCallbackDelegate)
public void SetOnCreateCallback(Bootstrap.OnCreateCallbackDelegate onCreateCallback)
Parameters
onCreateCallback Bootstrap.OnCreateCallbackDelegate
SetOnDestroyCallback(OnDestroyCallbackDelegate)
public void SetOnDestroyCallback(Bootstrap.OnDestroyCallbackDelegate onDestroyCallback)
Parameters
onDestroyCallback Bootstrap.OnDestroyCallbackDelegate
Uninit()