terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
UnityEngine.Networking.PlayerConnection.PlayerConnection Class Reference
+ Inheritance diagram for UnityEngine.Networking.PlayerConnection.PlayerConnection:
+ Collaboration diagram for UnityEngine.Networking.PlayerConnection.PlayerConnection:

Public Member Functions

void OnEnable ()
 
void Register (Guid messageId, UnityAction< MessageEventArgs > callback)
 
void Unregister (Guid messageId, UnityAction< MessageEventArgs > callback)
 
void RegisterConnection (UnityAction< int > callback)
 
void RegisterDisconnection (UnityAction< int > callback)
 
void UnregisterConnection (UnityAction< int > callback)
 
void UnregisterDisconnection (UnityAction< int > callback)
 
void Send (Guid messageId, byte[] data)
 
bool TrySend (Guid messageId, byte[] data)
 
bool BlockUntilRecvMsg (Guid messageId, int timeout)
 
void DisconnectAll ()
 
 PlayerConnection ()
 
unsafe int GetInstanceID ()
 
override int GetHashCode ()
 
override bool Equals (object other)
 
static void Destroy (Object obj, [DefaultValue("0.0F")] float t)
 
static void DestroyImmediate (Object obj, [DefaultValue("false")] bool allowDestroyingAssets)
 
static Object[] FindObjectsOfType (Type type, bool includeInactive)
 
static void DontDestroyOnLoad ([NotNull("NullExceptionObject")] Object target)
 
override string ToString ()
 

Static Public Member Functions

static ScriptableObject CreateInstance (Type type)
 
static T CreateInstance< T > ()
 
static implicit operator bool (Object exists)
 
static Object Instantiate (Object original, Vector3 position, Quaternion rotation)
 
static Object Instantiate (Object original)
 
static T Instantiate< T > (T original)
 
static T Instantiate< T > (T original, Vector3 position, Quaternion rotation)
 
static void Destroy (Object obj)
 
static void DestroyImmediate (Object obj)
 
static T[] FindObjectsOfType< T > ()
 
static bool operator== (Object x, Object y)
 
static bool operator!= (Object x, Object y)
 

Package Functions

static ScriptableObject CreateScriptableObjectInstanceFromType (Type type, bool applyDefaultsAndReset)
 
static Object FindObjectFromInstanceID (int instanceID)
 

Static Package Attributes

static IPlayerEditorConnectionNative connectionNative
 
static int OffsetOfInstanceIDInCPlusPlusObject
 

Properties

static PlayerConnection instance [get, set]
 
bool isConnected [get, set]
 
string name [get, set]
 
HideFlags hideFlags [set]
 

Private Member Functions

IPlayerEditorConnectionNative GetConnectionNativeApi ()
 
static void CreateScriptableObject ([Writable] ScriptableObject self)
 
IntPtr GetCachedPtr ()
 
static string ToString (Object obj)
 
static int GetOffsetOfInstanceIDInCPlusPlusObject ()
 
static Object Internal_CloneSingle ([NotNull("NullExceptionObject")] Object data)
 
static string GetName ([NotNull("NullExceptionObject")] Object obj)
 
static void SetName ([NotNull("NullExceptionObject")] Object obj, string name)
 
static Object Internal_InstantiateSingle_Injected (Object data, ref Vector3 pos, ref Quaternion rot)
 

Static Private Member Functions

static new PlayerConnection CreateInstance ()
 
static void MessageCallbackInternal (IntPtr data, ulong size, ulong guid, string messageId)
 
static void ConnectedCallbackInternal (int playerId)
 
static void DisconnectedCallback (int playerId)
 
static bool CompareBaseObjects (Object lhs, Object rhs)
 
static bool IsNativeObjectAlive (Object o)
 
static void CheckNullArgument (object arg, string message)
 
static Object Internal_InstantiateSingle ([NotNull("NullExceptionObject")] Object data, Vector3 pos, Quaternion rot)
 

Private Attributes

PlayerEditorConnectionEvents m_PlayerEditorConnectionEvents
 
List< int > m_connectedPlayers
 
bool m_IsInitilized
 
IntPtr m_CachedPtr
 

Static Private Attributes

static PlayerConnection s_Instance
 
const string objectIsNullMessage = "The Object you want to instantiate is null."
 
const string cloneDestroyedMessage = "Instantiate failed because the clone was destroyed during creation. This can happen if DestroyImmediate is called in MonoBehaviour.Awake."
 

Detailed Description

Definition at line 15 of file PlayerConnection.cs.


The documentation for this class was generated from the following file: