Ejemplo n.º 1
0
 public NetworkFunction(string _name, int _id, NetFuncType typ)
 {
     name      = _name;
     id        = _id;
     funcType  = typ;
     listeners = new Dictionary <NetworkID, NetkFunction>();
 }
Ejemplo n.º 2
0
    internal void RegisterNewNetworkFunction(string name, NetFuncType type)
    {
        NetworkFunction fun = new NetworkFunction(name, networkFunctions.Count, type);

        networkFunctions.Add(fun);
    }