public CacheGizmoEntry(GizmoEntry entry) { InternalName = entry.InternalName; var pluginGizmoType = (PluginGizmoType)entry.ObjectType; _objectType = (GizmoType)Enum.Parse(typeof(GizmoType), pluginGizmoType.ToString()); GizmotargetType = entry.GizmotargetType; }
public CacheGizmoEntry(GizmoEntry entry) : base(entry.SnoId) { InternalName = entry.InternalName; var pluginGizmoType = (PluginGizmoType)entry.ObjectType; _objectType = (GizmoType)Enum.Parse(typeof(GizmoType), pluginGizmoType.ToString()); GizmotargetType = entry.GizmotargetType; InteractRange = entry.InteractRange; CollisionRadius = entry.CollisionRadius; }
public CacheGizmoEntry(GizmoEntry entry) : base(entry.SnoId) { InternalName = entry.InternalName; var pluginGizmoType = (PluginGizmoType)entry.ObjectType; _objectType = (GizmoType) Enum.Parse(typeof (GizmoType), pluginGizmoType.ToString()); GizmotargetType = entry.GizmotargetType; InteractRange = entry.InteractRange; CollisionRadius = entry.CollisionRadius; }