Esempio n. 1
0
    public static int SocketIndex(this Socket.Map map, string name)
    {
        int num;

        map.SocketIndex(name, out num);
        return(num);
    }
Esempio n. 2
0
    public static bool ContainsSocket <TSocket>(this Socket.Map map, string name)
        where TSocket : Socket, new()
    {
        TSocket tSocket;

        return(map.FindSocket <TSocket>(name, out tSocket));
    }
Esempio n. 3
0
    public static bool ContainsSocket <TSocket>(this Socket.Map map, int index)
        where TSocket : Socket, new()
    {
        TSocket tSocket;

        return(map.FindSocket <TSocket>(index, out tSocket));
    }
Esempio n. 4
0
 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));
 }
Esempio n. 5
0
 public static bool FindSocket(this Socket.Map map, int index, out Socket socket)
 {
     return(map.Socket(index, out socket));
 }
Esempio n. 6
0
 public static bool FindSocket(this Socket.Map map, string name, out Socket socket)
 {
     return(map.Socket(name, out socket));
 }
Esempio n. 7
0
 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));
 }
Esempio n. 8
0
 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));
 }
Esempio n. 9
0
    public static bool ContainsSocket(this Socket.Map map, int index)
    {
        Socket socket;

        return(map.FindSocket(index, out socket));
    }
Esempio n. 10
0
    public static bool ContainsSocket(this Socket.Map map, string name)
    {
        Socket socket;

        return(map.FindSocket(name, out socket));
    }
Esempio n. 11
0
 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));
 }
Esempio n. 12
0
 public static bool FindSocket(this Socket.Map map, string name, out Socket socket)
 {
     Socket.Map.Reference reference = map;
     return(reference.Socket(name, out socket));
 }
Esempio n. 13
0
 public static bool FindSocket(this Socket.Map map, int index, out Socket socket)
 {
     Socket.Map.Reference reference = map;
     return(reference.Socket(index, out socket));
 }