This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class Directory { | |
} | |
export class Descript { | |
} | |
export class ShellData { | |
static async buildFromDirectory(directory: Directory): Promise<ShellData>; | |
constructor(surfaceResources, surfaceDefinitions); | |
unload(): void; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum SkillEffectType { | |
ChangeCharacterHP, | |
ChangeAllEnemyHP, | |
//... | |
} | |
public partial class SkillEffect { | |
private static Dictionary<SkillEffectType, Type> skill_types = new Dictionary<SkillEffectType, Type> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use utf8; | |
use strict; | |
use warnings; | |
use 5.006; # not checked | |
binmode STDOUT, ':encoding(cp932)'; | |
binmode STDERR, ':encoding(cp932)'; | |
use File::Spec::Functions qw/catfile/; | |
use Time::Piece; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: (event, callback) -> | |
unless event? and callback? then throw Error 'on() event and callback required' | |
unless @listener? | |
@listener = {} | |
unless @listener[event]? | |
@listener[event] = [] | |
if -1 == @listener[event].indexOf(callback) | |
@listener[event].push(callback) | |
off: (event, callback) -> | |
if event? and callback? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.importScripts("encoding.min.js") | |
self.importScripts("aya5.js") | |
self.importScripts("nativeshiori.js") | |
shiori = new AYA5() | |
shiori.Module.logReadFiles = true | |
shiorihandler = null | |
self.onmessage = ({data: {event, data}}) -> | |
switch event |
NewerOlder