Inheritance: BioStateEventElement
            protected void WriteEventElementLocal(BioStateEventElementLocal element)
            {
                if (element == null)
                {
                    throw new ArgumentNullException(nameof(element));
                }

                WriteEventElement(element);

                Write(element.ObjectTagFlags);
                Write(element.ObjectTag);

                Write(element.FunctionNameFlags);
                Write(element.FunctionName);

                Write(element.ObjectType);
                Write(element.UseParam.ToInt32());
            }
            protected void ReadBioStateEventElementLocal(BioStateEventElementLocal element)
            {
                if (element == null)
                {
                    throw new ArgumentNullException(nameof(element));
                }

                ReadBioStateEventElement(element);

                element.ObjectTagFlags = ReadInt32();
                element.ObjectTag      = ReadInt32();

                element.FunctionNameFlags = ReadInt32();
                element.FunctionName      = ReadInt32();

                element.ObjectType = ReadInt32();
                element.UseParam   = ReadInt32().ToBoolean();
            }
			protected void WriteEventElementLocal(BioStateEventElementLocal element)
			{
				if (element == null)
				{
					throw new ArgumentNullException(nameof(element));
				}

				WriteEventElement(element);

				Write(element.ObjectTagFlags);
				Write(element.ObjectTag);

				Write(element.FunctionNameFlags);
				Write(element.FunctionName);

				Write(element.ObjectType);
				Write(element.UseParam.ToInt32());
			}
			protected void ReadBioStateEventElementLocal(BioStateEventElementLocal element)
			{
				if (element == null)
				{
					throw new ArgumentNullException(nameof(element));
				}

				ReadBioStateEventElement(element);

				element.ObjectTagFlags = ReadInt32();
				element.ObjectTag = ReadInt32();

				element.FunctionNameFlags = ReadInt32();
				element.FunctionName = ReadInt32();

				element.ObjectType = ReadInt32();
				element.UseParam = ReadInt32().ToBoolean();
			}