Example #1
0
        protected override void Read(OnlineReader Sender)
        {
            int ListActionPanelCount = Sender.ReadInt32();

            ArrayActionPanel = new ActionPanel[ListActionPanelCount];
            for (int A = 0; A < ListActionPanelCount; ++A)
            {
                ArrayActionPanel[A] = ActionPanel.Read(Sender, DicActionPanel);
            }
        }
Example #2
0
        protected override void Read(OnlineReader Sender)
        {
            SendBackToSender = false;
            int ListActionPanelCount = Sender.ReadInt32();

            ArrayActionPanel = new ActionPanel[ListActionPanelCount];
            for (int A = 0; A < ListActionPanelCount; ++A)
            {
                ArrayActionPanel[A] = ActionPanel.Read(Sender, DicActionPanel);
                if (ArrayActionPanel[A].SendBackToSender)
                {
                    SendBackToSender = true;
                }
            }
        }