// Token: 0x06002FB2 RID: 12210 RVA: 0x000B7A40 File Offset: 0x000B5C40 public bool StartCrafting(global::BlueprintDataBlock blueprint, int amount) { if (blueprint.CanWork(amount, this)) { base.networkView.RPC("CRFS", 0, new object[] { amount, blueprint.uniqueID }); return(true); } return(false); }
// Token: 0x06002FBC RID: 12220 RVA: 0x000B7BD4 File Offset: 0x000B5DD4 public bool Restart(global::Inventory inventory, int amount, global::BlueprintDataBlock blueprint, ulong startTimeMillis) { if (!blueprint || !blueprint.CanWork(amount, inventory)) { this = default(global::CraftingSession); return(false); } this.blueprint = blueprint; this.startTime = (float)(startTimeMillis / 1000.0); this.duration = blueprint.craftingDuration * (float)amount; this.progressPerSec = 1f; this.progressSeconds = 0f; this.amount = amount; this.inProgress = true; return(true); }