Example #1
0
            static partial void FillBinaryDataCustom(MutagenFrame frame, IConditionFloat item)
            {
                var functionIndex = frame.GetUInt16();

                if (functionIndex == ConditionBinaryCreateTranslation.EventFunctionIndex)
                {
                    item.Data = GetEventData.CreateFromBinary(frame);
                }
                else
                {
                    item.Data = FunctionConditionData.CreateFromBinary(frame);
                }
            }