public T MakeGameObject <T>(HackObject obj) where T : GameObject { if (obj is null) { return(null); } return(typeof(T).GetConstructor(new Type[] { typeof(GameContext), typeof(HackObject) }) .Invoke(new object[] { Context, obj }) as T); }
public Item(GameContext ctx, HackObject obj) : base(ctx, obj) { }
public Tile(GameContext context, HackObject obj) : base(context, obj) { }
protected Mount(GameContext ctx, HackObject obj) : base(ctx, obj) { }
public WorldFileData(GameContext context, HackObject obj) : base(context, obj) { }
public Chest(GameContext ctx, HackObject obj) : base(ctx, obj) { }
public GameObject(GameContext context, HackObject obj) { Context = context; InternalObject = obj; }
public Projectile(GameContext ctx, HackObject obj) : base(ctx, obj) { }
public NetMessage(GameContext context, HackObject obj) : base(context, obj) { }
protected Entity(GameContext ctx, HackObject obj) : base(ctx, obj) { }
public GameString(GameContext ctx, HackObject obj) : base(ctx, obj) { }
public GameObjectArrayMDV(GameContext ctx, HackObject obj) : base(ctx, obj) { }
public Player(GameContext ctx, HackObject obj) : base(ctx, obj) { }
public WorldMap(GameContext context, HackObject obj) : base(context, obj) { }