Skip to content

wakamori/dscript-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dscript-library

D-Script script examples powered by MiniKonoha https://github.com/konoha-project/minikonoha

Templtate

// written by your name

import("dshell");
import("konoha.json");

const DCaseContext = Json;

boolean DoRecover(DCaseContext context) {
	boolean result = false;
	/* ... */
	return result;
}

void main() {
	DCaseContext ctx = new DCaseContext();
	DoRecover(ctx);
}

main();

Rules

1. Method interface

  • Method name should be CamelCase.
  • Set filename same as method name.
  • Return true if succeeded.
  • Get parameter from context.

About

D-Script script examples powered by MiniKonoha (https://github.com/konoha-project/minikonoha)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published