示例#1
0
        public void passivelyRequestModels(OnDemandFetcher requester)
        {
            if (modelIds == null)
            {
                return;
            }

            for (int modelId = 0; modelId < modelIds.Length; modelId++)
            {
                requester.passiveRequest(modelIds[modelId] & 0xffff, 0);
            }
        }
示例#2
0
        public static void passivelyRequestModels(this GameObjectDefinition definition, OnDemandFetcher requester)
        {
            if (definition.modelIds == null)
            {
                return;
            }

            for (int modelId = 0; modelId < definition.modelIds.Length; modelId++)
            {
                requester.passiveRequest(definition.modelIds[modelId] & 0xffff, 0);
            }
        }