Exemple #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;
         }
     }
 }
Exemple #2
0
 public FarmhandSlot(FarmhandMenu menu, Farmer farmer)
     : base(menu, farmer)
 {
     this.menu = menu;
 }