Inheritance: SnoEntry
示例#1
0
        public CacheGizmoEntry(GizmoEntry entry)
        {
            InternalName = entry.InternalName;
            var pluginGizmoType = (PluginGizmoType)entry.ObjectType;

            _objectType     = (GizmoType)Enum.Parse(typeof(GizmoType), pluginGizmoType.ToString());
            GizmotargetType = entry.GizmotargetType;
        }
示例#2
0
        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;
        }
示例#3
0
 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;
 }