示例#1
0
 public static DeleteSingleShapeEvent Read(Dictionary<byte, object> par)
 {
     var res = new DeleteSingleShapeEvent();
     res.shapeId = (int) par[(byte) DiscussionParamKey.ShapeId];
     res.topicId = (int) par[(byte) DiscussionParamKey.ChangedTopicId];
     res.indirectOwner = (int) par[(byte) DiscussionParamKey.ShapeOwnerId];
     return res;
 }
示例#2
0
        public static DeleteSingleShapeEvent Read(Dictionary <byte, object> par)
        {
            var res = new DeleteSingleShapeEvent();

            res.shapeId       = (int)par[(byte)DiscussionParamKey.ShapeId];
            res.topicId       = (int)par[(byte)DiscussionParamKey.ChangedTopicId];
            res.indirectOwner = (int)par[(byte)DiscussionParamKey.ShapeOwnerId];
            return(res);
        }
示例#3
0
 void _removeSingleShape(DeleteSingleShapeEvent ev)
 {
     if (ev.topicId != TopicId)
         return;
     
     PlayRemoveSingleShape(ev.shapeId, ev.indirectOwner);
 }