コード例 #1
0
 public NotifySeatedPacket(int tableid, byte seat, int mttid, TableSnapshotPacket snapshot)
 {
     this.tableid  = tableid;
     this.seat     = seat;
     this.mttid    = mttid;
     this.snapshot = snapshot;
 }
コード例 #2
0
 public void load(PacketInputStream ps)
 {
     tableid  = ps.loadInt();
     seat     = ps.loadByte();
     mttid    = ps.loadInt();
     snapshot = new TableSnapshotPacket();
     snapshot.load(ps);
 }
コード例 #3
0
        public void load(PacketInputStream ps)
        {
            int snapshotsCount = ps.loadInt();

            snapshots = new List <TableSnapshotPacket>(snapshotsCount);
            for (int i = 0; i != snapshotsCount; ++i)
            {
                TableSnapshotPacket _tmp = new TableSnapshotPacket();
                _tmp.load(ps);
                snapshots.Add(_tmp);
            }
        }