public static void PutLevelCfg(BufferBuilder bb, LevelCfg value)
 {
     if (!bb.PutNullFlag(value))
     {
         value.Encode(bb);
     }
 }
 public static LevelCfg GetLevelCfg(BufferBuilder bb)
 {
     if (bb.GetNullFlag())
     {
         return(null);
     }
     else
     {
         LevelCfg value = new LevelCfg();
         value.Decode(bb);
         return(value);
     }
 }
 public static LevelCfg[] GetLevelCfg1(BufferBuilder bb)
 {
     if (bb.GetNullFlag())
     {
         return(null);
     }
     else
     {
         int        length = bb.Get7BitEncodeInt();
         LevelCfg[] value  = new LevelCfg[length];
         for (int i = 0; i < length; i++)
         {
             value[i] = SerializeHelper.GetLevelCfg(bb);
         }
         return(value);
     }
 }