internal bool IsEntityFieldSerializable(Entity.FieldSerializeSerializationTypes fieldSerializeSerializationTypes) { return(true); /* * switch (this.SerializationMode) * { * case SerializationModes.Map: * case SerializationModes.MapSceneFile: * return (fieldSerializeSerializationTypes & Entity.FieldSerializeSerializationTypes.Map) != (Entity.FieldSerializeSerializationTypes)0; * case SerializationModes.World: * return (fieldSerializeSerializationTypes & Entity.FieldSerializeSerializationTypes.World) != (Entity.FieldSerializeSerializationTypes)0; * default: * return false; * } * //*/ }
/// <summary> /// Initializes a new instance of the class. /// </summary> /// <param name="supportedSerializationTypes">The supported serialization types.</param> public FieldSerializeAttribute(Entity.FieldSerializeSerializationTypes supportedSerializationTypes) { this.serializationTypes = supportedSerializationTypes; }