Beispiel #1
0
 private void deinit_receive()
 {
     if (this.receive != null)
     {
         this.receive.Deinit();
         this.receive = null;
     }
 }
Beispiel #2
0
    protected override void OnInit()
    {
        int waitTime = GameLogic.Random(500, 0x5dc);

        base.AddAction(base.GetActionWait("actionwaitr1", waitTime));
        base.AddAction(base.GetActionDelegate(delegate {
            ThunderContinueMgr.ThunderContinueData data = new ThunderContinueMgr.ThunderContinueData {
                entity     = base.m_Entity,
                bulletid   = this.bulletid,
                count      = this.count,
                delay      = this.delay,
                prev_scale = this.prev_scale
            };
            this.receive = ThunderContinueMgr.GetThunderContinue(data);
        }));
        base.AddAction(base.GetActionWait("actionwaitr1", 0xfa0 - waitTime));
    }