From 65a2b95f7355b6b495516b95dafa63f8ccaa2bb0 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Wed, 23 Oct 2019 17:46:45 +0200 Subject: ... --- src/battle/struct/btl_condition.erl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/battle/struct/btl_condition.erl') diff --git a/src/battle/struct/btl_condition.erl b/src/battle/struct/btl_condition.erl index 546c38b..695830b 100644 --- a/src/battle/struct/btl_condition.erl +++ b/src/battle/struct/btl_condition.erl @@ -74,7 +74,8 @@ -export ( [ - encode/1 + encode/1, + encode_collection/1 ] ). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -436,6 +437,8 @@ new (CondID, Triggers, Params) -> -spec new_collection () -> collection(). new_collection () -> orddict:new(). - -spec encode (type()) -> {list({binary(), any()})}. encode (Condition) -> {[]}. % TODO + +-spec encode_collection (collection()) -> {list({binary(), any()})}. +encode_collection (Conditions) -> {[]}. % TODO -- cgit v1.2.3-70-g09d2