// BitStream Reader public static object ReadFromBitStream(uLink.BitStream stream, params object[] args) { RankEntry myObj = new RankEntry(); //myObj.rankIndex = stream.ReadInt32(); //myObj.accountId = stream.ReadString(); myObj.name = stream.ReadString(); myObj.country = stream.ReadString(); myObj.bestRanking = stream.ReadInt32(); //myObj.totalDamage = stream.ReadInt64(); return myObj; }