public int __decode(byte[] binData, ref int pos) { this.status = Proto4z.BaseProtoObject.decodeUI8(binData, ref pos); this.following = new FollowingInfoArray(); this.following.__decode(binData, ref pos); return(pos); }
public System.Collections.Generic.List <byte> __encode() { var data = new System.Collections.Generic.List <byte>(); data.AddRange(Proto4z.BaseProtoObject.encodeUI8(status)); if (following == null) { following = new FollowingInfoArray(); } data.AddRange(following.__encode()); return(data); }
public GetFollowingAck() { status = 0; following = new FollowingInfoArray(); }
public GetFollowingAck(byte status, FollowingInfoArray following) { this.status = status; this.following = following; }
public GetFollowerAck(byte status, FollowingInfoArray follower) { this.status = status; this.follower = follower; }