Пример #1
0
 public UserData(string username, string displayname, PartnerStatus partnerStatus, bool live, string effect, Badge[] badges, bool deactivated, AboutPanel[] panels, Uri avatar, long followerCount,
                 long chest, long balance, long totalEarnings, long subscriberCount, string email, string[] wordFilter, string streamKey)
 {
     Public  = new PublicUserData(username, displayname, partnerStatus, live, effect, badges, deactivated, panels, avatar, followerCount, chest, balance, totalEarnings);
     Private = new PrivateUserData(subscriberCount, email, wordFilter, streamKey);
 }
Пример #2
0
 public UserData(PublicUserData publicUserData, PrivateUserData privateUserData)
 {
     Public  = publicUserData;
     Private = privateUserData;
 }