public void ReadFrom(BanchoPacketReader reader) { sender = reader.ReadString(); message = reader.ReadString(); channel = reader.ReadString(); sender_id = reader.ReadInt32(); }
public void ReadFrom(BanchoPacketReader reader) { action = (PlayerAction)reader.ReadByte(); action_description = reader.ReadString(); beatmap_checksum = reader.ReadString(); mods = (Mods)reader.ReadUInt32(); mode = (GameMode)reader.ReadByte(); beatmap_id = reader.ReadInt32(); }
public void ReadFrom(BanchoPacketReader sr) { id = sr.ReadInt16(); beatmapId = sr.ReadInt32(); beatmapSetId = sr.ReadInt32(); threadId = sr.ReadInt32(); ranked = sr.ReadByte(); osuRank = (Ranks)sr.ReadByte(); fruitsRank = (Ranks)sr.ReadByte(); taikoRank = (Ranks)sr.ReadByte(); maniaRank = (Ranks)sr.ReadByte(); checksum = sr.ReadString(); }
public void ReadFrom(BanchoPacketReader reader) { var array = reader.ReadString().Split('|'); (imageUrl, linkUrl) = (array[0], (array.Length > 1) ? array[1] : null); }
public void ReadFrom(BanchoPacketReader reader) { channel = reader.ReadString(); }
public void ReadFrom(BanchoPacketReader reader) { (name, topic) = (reader.ReadString(), reader.ReadString()); online_users = reader.ReadInt16(); }