public static int SocketIndex(this Socket.Map map, string name) { int num; map.SocketIndex(name, out num); return(num); }
public static bool ContainsSocket <TSocket>(this Socket.Map map, string name) where TSocket : Socket, new() { TSocket tSocket; return(map.FindSocket <TSocket>(name, out tSocket)); }
public static bool ContainsSocket <TSocket>(this Socket.Map map, int index) where TSocket : Socket, new() { TSocket tSocket; return(map.FindSocket <TSocket>(index, out tSocket)); }
public static bool GetSocketMapOrNull(this Socket.Mapped mapped, out Socket.Map map) { if (object.ReferenceEquals(mapped, null) || !(mapped as UnityEngine.Object)) { map = null; return(false); } map = mapped.socketMap; return(!object.ReferenceEquals(map, null)); }
public static bool FindSocket(this Socket.Map map, int index, out Socket socket) { return(map.Socket(index, out socket)); }
public static bool FindSocket(this Socket.Map map, string name, out Socket socket) { return(map.Socket(name, out socket)); }
public static bool FindSocket <TSocket>(this Socket.Map map, int index, out TSocket socket) where TSocket : Socket, new() { return(map.Socket <TSocket>(index, out socket)); }
public static bool FindSocket <TSocket>(this Socket.Map map, string name, out TSocket socket) where TSocket : Socket, new() { return(map.Socket <TSocket>(name, out socket)); }
public static bool ContainsSocket(this Socket.Map map, int index) { Socket socket; return(map.FindSocket(index, out socket)); }
public static bool ContainsSocket(this Socket.Map map, string name) { Socket socket; return(map.FindSocket(name, out socket)); }
public static bool FindSocket <TSocket>(this Socket.Map map, string name, out TSocket socket) where TSocket : Socket, new() { Socket.Map.Reference reference = map; return(reference.Socket <TSocket>(name, out socket)); }
public static bool FindSocket(this Socket.Map map, string name, out Socket socket) { Socket.Map.Reference reference = map; return(reference.Socket(name, out socket)); }
public static bool FindSocket(this Socket.Map map, int index, out Socket socket) { Socket.Map.Reference reference = map; return(reference.Socket(index, out socket)); }