コード例 #1
0
ファイル: CNewsBit.cs プロジェクト: thetilliwilli/TMonitor
 public CNewsBit(ENewsBitType pType, string pTitle = "", string pDescription = "")
 {
     id           = currentID++;
     type         = pType;
     creatingTime = DateTime.Now;
     point        = pTitle;
     description  = pDescription;
 }
コード例 #2
0
 static void NewsHandler(ENewsBitType pType, string pPoint, string pDescription = "")
 {
     newsFeed.Add(new CNewsBit(pType, pPoint));
     //if (newsFeed.Count >= effectiveMessageCount)
     //    OnBasketFillOut();
 }