Exemplo n.º 1
0
 public static Offset <ResCreateRole> CreateResCreateRole(FlatBufferBuilder builder,
                                                          int result = 0,
                                                          Offset <RoleInfo> roleInfoOffset = default(Offset <RoleInfo>))
 {
     builder.StartObject(2);
     ResCreateRole.AddRoleInfo(builder, roleInfoOffset);
     ResCreateRole.AddResult(builder, result);
     return(ResCreateRole.EndResCreateRole(builder));
 }
Exemplo n.º 2
0
 public static ResCreateRole GetRootAsResCreateRole(ByteBuffer _bb, ResCreateRole obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }