public static Offset <EmotionVO> CreateEmotionVO(FlatBufferBuilder builder, int Id = 0, StringOffset AtlasPathOffset = default(StringOffset), StringOffset SpriteNameOffset = default(StringOffset), StringOffset ExpressNameOffset = default(StringOffset), StringOffset ShowOffset = default(StringOffset), int sptMaxNum = 0, int ExpressType = 0, int Unlock = 0, int Long = 0, int Wide = 0, int IsBigEmotion = 0, int Fps = 0) { builder.StartObject(12); EmotionVO.AddFps(builder, Fps); EmotionVO.AddIsBigEmotion(builder, IsBigEmotion); EmotionVO.AddWide(builder, Wide); EmotionVO.AddLong(builder, Long); EmotionVO.AddUnlock(builder, Unlock); EmotionVO.AddExpressType(builder, ExpressType); EmotionVO.AddSptMaxNum(builder, sptMaxNum); EmotionVO.AddShow(builder, ShowOffset); EmotionVO.AddExpressName(builder, ExpressNameOffset); EmotionVO.AddSpriteName(builder, SpriteNameOffset); EmotionVO.AddAtlasPath(builder, AtlasPathOffset); EmotionVO.AddId(builder, Id); return(EmotionVO.EndEmotionVO(builder)); }
public static EmotionVO GetRootAsEmotionVO(ByteBuffer _bb, EmotionVO obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }