public void passivelyRequestModels(OnDemandFetcher requester) { if (modelIds == null) { return; } for (int modelId = 0; modelId < modelIds.Length; modelId++) { requester.passiveRequest(modelIds[modelId] & 0xffff, 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); } }