private IEnumerator useConsumableAction(string type, int partialCount, object properties) { yield return(null); currentConsumable = definitions.GetConsumable(type); if (currentConsumable != null) { currentConsumable.SetGameServerClient(this); yield return(currentConsumable.Consume(partialCount, type, properties)); } }