Esempio n. 1
0
            internal VACStatusCallback(MsgClientVACBanStatus msg, byte[] payload)
            {
                var tempList = new List <uint>();

                using (DataStream ds = new DataStream(payload))
                {
                    for (int x = 0; x < msg.NumBans; x++)
                    {
                        tempList.Add(ds.ReadUInt32());
                    }

                    BannedApps = new ReadOnlyCollection <uint>(tempList);
                }
            }
Esempio n. 2
0
            internal VACStatusCallback(MsgClientVACBanStatus msg, byte[] payload)
            {
                var tempList = new List <uint>();

                using (var ms = new MemoryStream(payload))
                    using (var br = new BinaryReader(ms))
                    {
                        for (int x = 0; x < msg.NumBans; x++)
                        {
                            tempList.Add(br.ReadUInt32());
                        }

                        BannedApps = new ReadOnlyCollection <uint>(tempList);
                    }
            }
Esempio n. 3
0
 internal VACStatusCallback(SteamClient client, MsgClientVACBanStatus msg, byte[] payload)
     : base(client)