comparison src/main/csharp/jp.ac.u-ryukyu.ie.cr/jungle/store/impl/logger/LoggingAttributes.cs @ 6:4d08270a61c8

fix
author Kazuma
date Tue, 19 Jul 2016 16:47:43 +0900
parents dec15de2c6ff
children
comparison
equal deleted inserted replaced
5:0428c8888abf 6:4d08270a61c8
9 { 9 {
10 wrap = _wrap; 10 wrap = _wrap;
11 log = _log; 11 log = _log;
12 } 12 }
13 13
14 public GameObject get(string _key) 14 public byte get(string _key)
15 { 15 {
16 TreeNodeAttributes attributes = wrap.getAttributes(); 16 TreeNodeAttributes attributes = wrap.getAttributes();
17 return attributes.get(_key); 17 return attributes.get(_key);
18 } 18 }
19 19
37 37
38 DeleteAttributeOperation deleteAttribute = new DeleteAttributeOperation(_key); 38 DeleteAttributeOperation deleteAttribute = new DeleteAttributeOperation(_key);
39 return edit(deleteAttribute); 39 return edit(deleteAttribute);
40 } 40 }
41 41
42 public Either<Error,LoggingNode> put(string _key, GameObject _value) 42 public Either<Error,LoggingNode> put(string _key, byte _value)
43 { 43 {
44 PutAttributeOperation putAttribute = new PutAttributeOperation(_key,_value); 44 PutAttributeOperation putAttribute = new PutAttributeOperation(_key,_value);
45 return edit(putAttribute); 45 return edit(putAttribute);
46 } 46 }
47 47