Exemple #1
0
                public override void ReInit()
                {
                    if (Memory.State.Characters != null && !skipReInit)
                    {
                        skipReInit = true;
                        IGMDataItem_Empty c;
                        if (!Memory.State.TeamLaguna && !Memory.State.SmallTeam)
                        {
                            c = new IGMDataItem_Empty(pos: new Rectangle {
                                Width = 580, Height = 234, X = 20, Y = 84
                            });
                            vSpace = 0;
                        }
                        else
                        {
                            c = new IGMDataItem_Empty(pos: new Rectangle {
                                Width = 580, Height = 462, X = 20, Y = 84
                            });
                            vSpace = 6;
                        }
                        Init(3, 12, c, 1, 3);

                        if (Memory.State.Characters != null)
                        {
                            bool ret = base.Update();
                            for (sbyte i = 0; Memory.State.PartyData != null && i < SIZE.Length; i++)
                            {
                                ReInitCharacter(i, Memory.State.PartyData[i], Memory.State.Party[i]);
                            }
                        }
                        skipReInit = false;
                    }
                }
Exemple #2
0
 public override void ReInit()
 {
     base.ReInit();
     if (!Memory.State.TeamLaguna && !Memory.State.SmallTeam)
     {
         CONTAINER = new IGMDataItem_Empty(pos: new Rectangle {
             Width = 580, Height = 234, X = 20, Y = 84
         });
         vSpace = 0;
     }
     else
     {
         CONTAINER = new IGMDataItem_Empty(pos: new Rectangle {
             Width = 580, Height = 462, X = 20, Y = 84
         });
         vSpace = 6;
     }
     for (int i = 0; i < 3; i++)
     {
         SIZE[i] = new Rectangle {
             Width = Width, Height = (Height / 3) - vSpace, X = X, Y = Y + (Height / 3 * i)
         }
     }
     ;
 }