private void HandleCraftAction(CraftAction ca) { DateTime now = DateTime.Now; ChatManager.ServerMessageToAllLoc(EcoAnalyzerProtocol1.CraftMessage(now, ca), false, category: ChatCategory.Info); }
protected virtual uint ProcessCraftAction(CraftAction action) { return(action.RecipeNetworkId); }
public static string CraftMessage(DateTime timestamp, CraftAction a) { return($"Craft(timestamp={timestamp:u}, worldtime={a.TimeSeconds}, item={a.ItemTypeName}, user={a.Username})\n"); }