Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 22ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login Register
screwdriver

screwdriver

Joined 1 hour ago

All gists 1
Recently created Least recently created Recently updated Least recently updated
screwdriver

screwdriver / gist:f99d5bf9d8f14fe2a9a3bf56d4ac0c66

Last active 10 minutes ago
0 0 3
1 using Microsoft.Extensions.Logging;
2
3 namespace NewMoon.Samples.NPC;
4
5 /// <summary>
6 /// The custom NPC: a <c>npc_bot_newmoon</c> classname that is a factory alias of <c>base_boss</c>. Spawning it yields a real
7 /// <c>base_boss</c> that carries the new classname, and the registry calls the lifecycle overrides below.
8 /// </summary>
9 /// <remarks>
10 /// The class only logs. Reading keyvalues, inputs and outputs from a custom entity is not part of the landed API yet, so the