Skip to content

Instantly share code, notes, and snippets.

View Aragas's full-sized avatar
🧑‍💻
Okay google what's status

Vitalii Mikhailov Aragas

🧑‍💻
Okay google what's status
View GitHub Profile
public readonly record struct ValueObjectInt(int Value): IValueObject<ValueObjectInt, int>, IHasNewId<ValueObjectInt, Random>
{
public static ValueObjectInt From(int valueObject) => new(valueObject);
public static ValueObjectInt NewRandomId() => DefaultsHasNewId<ValueObjectInt, int, Random>.NewId();
}
public readonly record struct ValueObjectGuid(Guid Value): IValueObject<ValueObjectGuid, Guid>, IHasNewId<ValueObjectGuid, Random>
{
public static ValueObjectGuid From(Guid valueObject) => new(valueObject);
using TType = ApplicationRole;
using TValueType = String;
[TypeConverter(typeof(VogenTypeConverter<TType, TValueType>))]
[JsonConverter(typeof(VogenJsonConverter<TType, TValueType>))]
[ValueObject<TValueType>(conversions: Conversions.None, deserializationStrictness: DeserializationStrictness.AllowKnownInstances)]
[Instance("Anonymous", ApplicationRoles.Anonymous)]
[Instance("User", ApplicationRoles.User)]
[Instance("Moderator", ApplicationRoles.Moderator)]
[Instance("Administrator", ApplicationRoles.Administrator)]
Copy-Item -Path ./Modules -Destination ./Modules2 -Recurse -Filter SubModule.xml

Recommended list of mods for Bannerlord

  • Harmony - provides the 0Harmony assembly. Placed at the very top.

  • Better Exception Window - for better debugging.

  • ButterLib - utility mod. Provides various modding related classes.

  • UIExtenderEx - utility mod. Provides UI injection.

  • MCM - utility mod. Provides option screen for mods.

  • ModLib - utility mod. Should be included only if there are mods that directly depend on ModLib. MCM fully replaces its functionality.

  • *TaleWorlds Modules*

  • *OTHER MODS*

https://github.com/Nexus-Mods/Vortex/blob/master/src/types/IGameStore.ts
https://github.com/Nexus-Mods/Vortex/blob/master/src/util/Steam.ts
https://github.com/Nexus-Mods/Vortex/blob/master/src/util/EpicGamesLauncher.ts
https://github.com/Nexus-Mods/Vortex/blob/master/src/util/GameStoreHelper.ts
https://github.com/Nexus-Mods/vortex-games/blob/master/game-mount-and-blade2/index.js

Keybase proof

I hereby claim:

  • I am aragas on github.
  • I am aragas (https://keybase.io/aragas) on keybase.
  • I have a public key ASA5BEncbmtZWfMT2fdt-tsjjxYVQALrtbc3UFds4MJj8Ao

To claim this, I am signing this object:

<?php
error_reporting(E_ALL);
/* get somehow here ip and port of a server. */
$service_port = 15124;
$address = "127.0.0.1"
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
if ($socket === false) {
echo "Couldn't create socket_create().\nReason: " . socket_strerror(socket_last_error()) . "\n";
{8*
{TOGGLEMENU|0}
|
{CAMERA|13.5|0.5|15|11.10604|0.5|13.89396|0.1|0.1|0|-1.085398|-0.1|-0.3|0.04|0.04|0|0}
|
{CAMERA|13.5|0.5|15|11.10604|0.5|13.89396|0.1|0.1|0|-1.085398|-0.1|-0.3|0.04|0.04|1|0}
|
{DELAY|20}
|
{CAMERA|14|0.5|13.5|11.10604|0.5|13.89396|0.06|0.06|-0.8353982|-1.085398|-0.3|-0.3|0.04|0.04|1|0}
@Aragas
Aragas / Monster.cs
Created December 30, 2015 19:53
Monster prototype
public enum MonsterGender { Male, Female, Genderless }
public class MonsterStaticData
{
public string ID { get; }
public string Name { get; }
public float GenderPercentage { get; }
public MonsterExperienceType ExperienceType { get; }