コード例 #1
0
 public void BeginPost(uint nhoodID, Callback <BulletinResponseType> callback)
 {
     if (Blocked)
     {
         return;
     }
     Blocked = true;
     ConnectionReg.MakeRequest(new BulletinRequest()
     {
         Type        = BulletinRequestType.CAN_POST_MESSAGE,
         Value       = 1,
         TargetNHood = nhoodID
     });
     Callbacks.Add(callback);
 }
コード例 #2
0
 public void BeginRating(uint nhoodID, uint avatarID, Callback <NhoodResponseCode> callback)
 {
     if (Blocked)
     {
         return;
     }
     Blocked = true;
     ConnectionReg.MakeRequest(new NhoodRequest()
     {
         Type         = NhoodRequestType.CAN_RATE,
         TargetAvatar = avatarID,
         TargetNHood  = nhoodID
     });
     Callbacks.Add(callback);
 }