Ejemplo n.º 1
0
 // Token: 0x060010D9 RID: 4313 RVA: 0x00018058 File Offset: 0x00016258
 public static void Serialize(Stream stream, DailyPointsView instance)
 {
     using (MemoryStream memoryStream = new MemoryStream())
     {
         Int32Proxy.Serialize(memoryStream, instance.Current);
         Int32Proxy.Serialize(memoryStream, instance.PointsMax);
         Int32Proxy.Serialize(memoryStream, instance.PointsTomorrow);
         memoryStream.WriteTo(stream);
     }
 }
 // Token: 0x06000D85 RID: 3461 RVA: 0x0005E75C File Offset: 0x0005C95C
 public DailyPointsPopupDialog(DailyPointsView dailypoints)
 {
     if (dailypoints != null)
     {
         this._points = dailypoints;
     }
     else
     {
         this._points = new DailyPointsView
         {
             Current        = 700,
             PointsTomorrow = 800,
             PointsMax      = 1000
         };
     }
     this.Width  = 500;
     this.Height = 330;
 }