|
|
|
|
|
|
[DllImport("__Internal", EntryPoint="UnityMC_Delegate_initWithName")] |
|
|
|
static extern IntPtr InitWithName(NSString name, NSString serviceType); |
|
|
|
|
|
|
|
[DllImport("__Internal", EntryPoint="UnityMC_Delegate_ReceivedDataQueueSize")] |
|
|
|
[DllImport("__Internal", EntryPoint="UnityMC_Delegate_receivedDataQueueSize")] |
|
|
|
[DllImport("__Internal", EntryPoint="UnityMC_Delegate_DequeueReceivedData")] |
|
|
|
[DllImport("__Internal", EntryPoint="UnityMC_Delegate_dequeueReceivedData")] |
|
|
|
[DllImport("__Internal", EntryPoint="UnityMC_Delegate_ConnectedPeerCount")] |
|
|
|
[DllImport("__Internal", EntryPoint="UnityMC_Delegate_connectedPeerCount")] |
|
|
|
[DllImport("__Internal", EntryPoint="UnityMC_Delegate_SetEnabled")] |
|
|
|
[DllImport("__Internal", EntryPoint="UnityMC_Delegate_setEnabled")] |
|
|
|
[DllImport("__Internal", EntryPoint="UnityMC_Delegate_GetEnabled")] |
|
|
|
[DllImport("__Internal", EntryPoint="UnityMC_Delegate_getEnabled")] |
|
|
|
static extern bool GetEnabled(MCSession self); |
|
|
|
} |
|
|
|
} |