public bUserStats(SerializationReader reader) { Id = reader.ReadInt32(); Status = new bUserStatus(reader); totalScore = reader.ReadInt64(); Accuracy = reader.ReadSingle(); playCount = reader.ReadInt32(); rankedScore = reader.ReadInt64(); rankPosition = reader.ReadInt32(); perfomancePoints = reader.ReadInt16(); }
public bUserStats(int ID, bUserStatus info, long totalScore, float Accuracy, int playCount, long rankedScore, int rankPosition, short pp) { Id = ID; Status = info; this.totalScore = totalScore; this.Accuracy = Accuracy; this.playCount = playCount; this.rankedScore = rankedScore; this.rankPosition = rankPosition; this.perfomancePoints = pp; }