From ea3af047c84986f98fc794f9c094edd304bc6195 Mon Sep 17 00:00:00 2001 From: dpomier Date: Mon, 22 Feb 2021 19:36:16 +0100 Subject: [PATCH] Squashed commit of the following: commit 675483f3c1fc803ccc4490d7a3e193ad6df5b740 Author: dpomier Date: Fri Feb 19 15:49:46 2021 +0100 add missing putText closes #25 --- com/smartfoxserver/v2/entities/data/SFSObject.hx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/com/smartfoxserver/v2/entities/data/SFSObject.hx b/com/smartfoxserver/v2/entities/data/SFSObject.hx index 1a88057..f1e0b5f 100644 --- a/com/smartfoxserver/v2/entities/data/SFSObject.hx +++ b/com/smartfoxserver/v2/entities/data/SFSObject.hx @@ -507,6 +507,12 @@ class SFSObject implements ISFSObject dataHolder[key] = new SFSDataWrapper(SFSDataType.UTF_STRING, value); } + /** @inheritDoc */ + public function putText(key:String, value:String):Void + { + dataHolder[key] = new SFSDataWrapper(SFSDataType.TEXT, value); + } + // Arrays /** @inheritDoc */