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