Beispiel #1
0
 public static Offset <Login> CreateLogin(FlatBufferBuilder builder,
                                          Class cType                = Class.Base,
                                          bool isSignin              = false,
                                          StringOffset idOffset      = default(StringOffset),
                                          StringOffset passOffset    = default(StringOffset),
                                          bool isSuccess             = false,
                                          StringOffset nikNameOffset = default(StringOffset))
 {
     builder.StartObject(6);
     Login.AddNikName(builder, nikNameOffset);
     Login.AddPass(builder, passOffset);
     Login.AddId(builder, idOffset);
     Login.AddCType(builder, cType);
     Login.AddIsSuccess(builder, isSuccess);
     Login.AddIsSignin(builder, isSignin);
     return(Login.EndLogin(builder));
 }