public static Offset <Reply_EnterGateFailed> CreateReply_EnterGateFailed(FlatBufferBuilder builder, ProtocolCS.ErrorCode error_code = ProtocolCS.ErrorCode.OK) { builder.StartObject(1); Reply_EnterGateFailed.AddErrorCode(builder, error_code); return(Reply_EnterGateFailed.EndReply_EnterGateFailed(builder)); }
public static Reply_EnterGateFailed GetRootAsReply_EnterGateFailed(ByteBuffer _bb, Reply_EnterGateFailed obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }