inspiration, nothing more
- roar of the kha
- leonin sun standard
- slagwurm armor
- sword of kaldra
/* mod.js | |
* license: NCSA | |
* copyright: Senko's Pub | |
* website: https://www.guilded.gg/senkospub | |
* authors: | |
* - Senko-san (Merijn Hendriks) | |
*/ | |
class Mod | |
{ |
/* CommandSystem.cs | |
* License: NCSA Open Source | |
* Author: Merijn Hendriks | |
*/ | |
namespace App | |
{ | |
public class CommandSystem : ISystem | |
{ | |
List<ICommand> Commands; |
/* ModuleLoader.cs | |
* license: NCSA | |
* author: Merijn Hendriks | |
*/ | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; |
/* Program.cs | |
* License: NCSA | |
* Author: Merijn Hendriks | |
*/ | |
using System; | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
namespace TriggerBSOD |
using System.Collections.Generic; | |
using System.Text; | |
namespace Wikimedia.Api | |
{ | |
public EFile | |
{ | |
Abstract = 0, | |
AllTitles, | |
Babel, |
using System; | |
using System.Collections.Generic; | |
namespace RandomRPG | |
{ | |
public static class Log | |
{ | |
public static void Write(string text) | |
{ | |
Console.WriteLine(text); |
{ | |
"GameGlobals": { | |
"AlignmentTypes": [ | |
"None", | |
"LawfulGood", | |
"LawfulNeutral", | |
"LawfulEvil", | |
"NeutralGood", | |
"TrueNeutral", | |
"NeutralEvil", |
Emulating inheritance in ANSI-C
Sometimes the cleanest implementation is by taking advantage of inheritance despite the cost of the technique. In this article I'll discuss various implementations with their characteristics. We'll emulate the following code from C# in ANSI-C:
using System.Collections.Generic; | |
public class CacheDataProvider | |
{ | |
public CacheDataProvider() | |
{ | |
AddNormal(); | |
AddLocales(); | |
AddMaps(); | |
} |