git.schokokeks.org
Repositories
Help
Report an Issue
kvasir.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
dddc84d
Branches
Tags
master
kvasir.git
fontoj
eventoj
eventoj_eligaj
evento_eliga_mesagxo.ts
unua enmetajxo
Fenris Wolf
commited
dddc84d
at 2016-05-13 11:03:38
evento_eliga_mesagxo.ts
Blame
History
Raw
/* IRC-Bot "Kvasir" Copyright (C) 2016 Fenris Wolf (fenris@folksprak.org) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ /** * @author fenris */ class klaso_evento_eliga_mesagxo extends klaso_evento_eliga { /** * @author fenris */ protected celo : string; /** * @author fenris */ protected enhavo : string; /** * @author fenris */ protected alparolato : string; /** * @author fenris */ public constructor(celo : string, alparolato : string, enhavo : string) { super(); this.celo = celo; this.enhavo = enhavo; this.alparolato = alparolato; } /** * @author fenris */ public static kruda_de(eligo_kruda : Object) : klaso_evento_eliga_mesagxo { return ( new klaso_evento_eliga_mesagxo ( eligo_kruda["parametroj"]["celo"], eligo_kruda["parametroj"]["alparolato"], eligo_kruda["parametroj"]["enhavo"] ) ); } /** * @author fenris */ public celo_legi() : string { return this.celo; } /** * @author fenris */ public enhavo_legi() : string { return this.enhavo; } /** * @author fenris */ public alparolato_legi() : string { return this.alparolato; } }