Esempio n. 1
0
 public FarmhandSlot(FarmhandMenu menu, Farmer farmer)
     : base(menu, farmer)
 {
     this.menu = menu;
     if (Program.sdk.Networking != null)
     {
         string local_user_id = Program.sdk.Networking.GetUserID();
         if (local_user_id != "" && farmer != null && farmer.userID.Value != "" && local_user_id != (string)farmer.userID)
         {
             _belongsToAnotherPlayer = true;
         }
     }
 }
Esempio n. 2
0
 public FarmhandSlot(FarmhandMenu menu, Farmer farmer)
     : base(menu, farmer)
 {
     this.menu = menu;
 }