public static Offset <LoginResultMessage> CreateLoginResultMessage(FlatBufferBuilder builder,
                                                                    LoginResult result = LoginResult.Success)
 {
     builder.StartObject(1);
     LoginResultMessage.AddResult(builder, result);
     return(LoginResultMessage.EndLoginResultMessage(builder));
 }
 public static LoginResultMessage GetRootAsLoginResultMessage(ByteBuffer _bb, LoginResultMessage obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }