Example #1
0
        internal void CreateNetworkStringLists(INetworkStringListsBuilder networkStringListBuilder)
        {
            _models = networkStringListBuilder.CreateList(EngineStringLists.Models);

            _models.OnStringAdded += _modelPrecache_OnStringAdded;

            _loadedModels = new Dictionary <int, IModel>();
            _nameToIndex  = new Dictionary <string, int>();

            _nextClientIndex = -1;
        }
 internal void CreateNetworkStringLists(INetworkStringListsBuilder networkStringListBuilder)
 {
     _models = networkStringListBuilder.CreateList(EngineStringLists.Models);
 }