public NotifySeatedPacket(int tableid, byte seat, int mttid, TableSnapshotPacket snapshot) { this.tableid = tableid; this.seat = seat; this.mttid = mttid; this.snapshot = snapshot; }
public void load(PacketInputStream ps) { tableid = ps.loadInt(); seat = ps.loadByte(); mttid = ps.loadInt(); snapshot = new TableSnapshotPacket(); snapshot.load(ps); }
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); } }