コード例 #1
0
        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));
            }
        }