public static Offset <UpdateCreditsMessage> CreateUpdateCreditsMessage(FlatBufferBuilder builder,
                                                                        long credits = 0)
 {
     builder.StartObject(1);
     UpdateCreditsMessage.AddCredits(builder, credits);
     return(UpdateCreditsMessage.EndUpdateCreditsMessage(builder));
 }
 public static UpdateCreditsMessage GetRootAsUpdateCreditsMessage(ByteBuffer _bb, UpdateCreditsMessage obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }