static Mmd() { var t = CreateTrigger(); TriggerRegisterTimerEvent(t, 0f, false); TriggerAddCondition(t, Condition(Init)); _eventQueue = new EventQueue(); _nodes = new Queue <Node>(); FlushGameCache(InitGameCache(Filename)); _gamecache = InitGameCache(Filename); _clock = CreateTimer(); TimerStart(_clock, ClockStartTime, false, null); _senders = Senders.Naive; _messageCount = 0; }
protected override DHJassValue Run() { string name = args["campaignFile"].StringValue; gamecache gc = new gamecache(name); return new DHJassHandle(null, gc.handle); }