Пример #1
0
 public static Offset <Request_Join> CreateRequest_Join(FlatBufferBuilder builder,
                                                        StringOffset user_nameOffset = default(StringOffset),
                                                        StringOffset passwordOffset  = default(StringOffset))
 {
     builder.StartObject(2);
     Request_Join.AddPassword(builder, passwordOffset);
     Request_Join.AddUserName(builder, user_nameOffset);
     return(Request_Join.EndRequest_Join(builder));
 }
Пример #2
0
 public static Request_Join GetRootAsRequest_Join(ByteBuffer _bb, Request_Join obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }