public static Offset <Reply_JoinFailed> CreateReply_JoinFailed(FlatBufferBuilder builder, ProtocolCS.ErrorCode error_code = ProtocolCS.ErrorCode.OK) { builder.StartObject(1); Reply_JoinFailed.AddErrorCode(builder, error_code); return(Reply_JoinFailed.EndReply_JoinFailed(builder)); }
public static Reply_JoinFailed GetRootAsReply_JoinFailed(ByteBuffer _bb, Reply_JoinFailed obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }