mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
22 lines
492 B
JavaScript
22 lines
492 B
JavaScript
import Primitive from "./Primitive"
|
|
|
|
export default class LocalizedTextEntity extends Primitive {
|
|
|
|
/**
|
|
*
|
|
* @param {String} namespace
|
|
* @param {String} key
|
|
* @param {String} value
|
|
*/
|
|
constructor(namespace, key, value) {
|
|
super()
|
|
this.namespace = namespace
|
|
this.key = key
|
|
this.value = value
|
|
}
|
|
|
|
toString() {
|
|
"NSLOCTEXT(" + `"${this.namespace}"` + ", " + `"${this.key}"` + ", " + `"${this.value}"` + ")"
|
|
}
|
|
|
|
} |