Exemplo n.º 1
0
 public static Offset <Notify_EnterFailed> CreateNotify_EnterFailed(FlatBufferBuilder builder,
                                                                    ProtocolCS.ErrorCode error_code = ProtocolCS.ErrorCode.OK)
 {
     builder.StartObject(1);
     Notify_EnterFailed.AddErrorCode(builder, error_code);
     return(Notify_EnterFailed.EndNotify_EnterFailed(builder));
 }
Exemplo n.º 2
0
 public static Notify_EnterFailed GetRootAsNotify_EnterFailed(ByteBuffer _bb, Notify_EnterFailed obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }