コード例 #1
0
        public PortMultiplayerScenarioCommand(HaloOnlineCacheContext cacheContext, CacheFile blamCache, PortTagCommand portTag) :
            base(true,

                 "PortMultiplayerScenario",
                 "Builds a multiplayer map from one or more bsps within a given zone set",

                 "PortMultiplayerScenario [options] [sbsp tag (leave blank for a wizard)]",

                 "Builds a multiplayer map from one or more bsps within a given zone set")
        {
            CacheContext = cacheContext;
            BlamCache    = blamCache;
            PortTag      = portTag;
        }
コード例 #2
0
 public static void Populate(CommandContextStack contextStack, CommandContext context, GameCache currentCache, GameCache portingCache)
 {
     if (currentCache is GameCacheHaloOnlineBase hoCache)
     {
         var portTagCommand = new PortTagCommand(hoCache, portingCache);
         context.AddCommand(portTagCommand);
         context.AddCommand(new MergeAnimationGraphsCommand(hoCache, portingCache, portTagCommand));
         context.AddCommand(new PortMultiplayerEventsCommand(hoCache, portingCache));
         context.AddCommand(new PortMultiplayerScenarioCommand(hoCache, portingCache, portTagCommand));
         context.AddCommand(new MatchTemplateCommand(hoCache, portingCache));
         context.AddCommand(new PortInstancedGeometryObjectCommand(hoCache, portingCache));
         context.AddCommand(new PortClusterGeometryObjectCommand(hoCache, portingCache));
     }
 }
コード例 #3
0
        public static void Populate(CommandContextStack contextStack, CommandContext context, HaloOnlineCacheContext cacheContext, CacheFile blamCache)
        {
            var portTagCommand = new PortTagCommand(cacheContext, blamCache);

            context.AddCommand(portTagCommand);
            context.AddCommand(new ExtractXMACommand(cacheContext, blamCache));
            context.AddCommand(new ExtractSoundCommand(cacheContext, blamCache));
            context.AddCommand(new ExtractBitmapCommand(blamCache));
            context.AddCommand(new EditTagCommand(contextStack, blamCache));
            context.AddCommand(new ListBlamTagsCommand(cacheContext, blamCache));
            context.AddCommand(new PortArmorVariantCommand(cacheContext, blamCache));
            context.AddCommand(new PortMultiplayerEventsCommand(cacheContext, blamCache));
            context.AddCommand(new NameBlamTagCommand(cacheContext, blamCache));
            context.AddCommand(new MergeAnimationGraphsCommand(cacheContext, blamCache, portTagCommand));
        }