예제 #1
0
 public static BaseHandler LaunchFromID(string id, RelicChunk rc)
 {
     BaseHandler chnd;
     switch (id)
     {
         case "ACTN":
             chnd = new ACTNHandler();
             break;
         default:
             chnd = new StandardChunkHandler();
             break;
     }
     chnd.LoadChunk(rc);
     return chnd;
 }
예제 #2
0
        public static BaseHandler LaunchFromID(string id, RelicChunk rc)
        {
            BaseHandler chnd;

            switch (id)
            {
            case "ACTN":
                chnd = new ACTNHandler();
                break;

            default:
                chnd = new StandardChunkHandler();
                break;
            }
            chnd.LoadChunk(rc);
            return(chnd);
        }