Skip to content

Commit

Permalink
add missing putText
Browse files Browse the repository at this point in the history
closes boorik#25
  • Loading branch information
DigiEggz committed Aug 8, 2023
1 parent 27f0acf commit 05d5c1c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions com/smartfoxserver/v2/entities/data/SFSObject.hx
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,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 */
Expand Down

0 comments on commit 05d5c1c

Please sign in to comment.