Search found 7 matches

by sorencoder
01 Feb 2019, 11:15
Forum: SFS2X C# API
Topic: Where is XML documentation of SmartFox2X.dll?
Replies: 6
Views: 1479

Re: Where is XML documentation of SmartFox2X.dll?

Bax wrote:Feature added!
Take a look at this document: http://docs2x.smartfoxserver.com/Extens ... ng-javadoc

Thank you! I really appreciate the support!
by sorencoder
24 Jan 2019, 19:42
Forum: SFS2X Questions
Topic: Put class in user variable.
Replies: 1
Views: 541

Put class in user variable.

Hi, I'm trying to put this Game object inside a user variable but it gives error saying "Cannot set variable type for value": public class Game implements SerializableSFSType { public ArrayList<Card> HomeCards; public ArrayList<Card> AwayCards; } public class Card implements SerializableSF...
by sorencoder
23 Jan 2019, 15:26
Forum: SFS2X Questions
Topic: How to listen for Extension Response that gets sent to NPC?
Replies: 1
Views: 577

How to listen for Extension Response that gets sent to NPC?

In my game, when there is not enough player to start the game, server automatically fills the remaining space with bots/NPCs. Here is the code that creates a NPC: User npc = api.createNPC("npc-" + npcCount, zone, false); Player player = playerBuilder.build(); npc.setVariable(UserHelper.cre...
by sorencoder
23 Jan 2019, 14:51
Forum: SFS2X C# API
Topic: Where is XML documentation of SmartFox2X.dll?
Replies: 6
Views: 1479

Re: Where is XML documentation of SmartFox2X.dll?

Thank you for your support! I need it for quick documentation. Visual studio provides method summary and parameter description if you place XML docs with dll file. It's much faster to read a parameter description on the little pop-up in visual studio rather that opening the docs online, searching fo...
by sorencoder
21 Jan 2019, 16:39
Forum: SFS2X C# API
Topic: Where is XML documentation of SmartFox2X.dll?
Replies: 6
Views: 1479

Where is XML documentation of SmartFox2X.dll?

Hi.
I cannot find XML docs for SmartFox2X.dll for Unity.
Where can I find it?
by sorencoder
20 Jan 2019, 15:08
Forum: SFS2X Questions
Topic: Sending byte arrays
Replies: 3
Views: 816

Re: Sending byte arrays

First, Thank you for your response. I'll wrap byte arrays. SFSObject problems: First It's text-based. It means that we don't get intellisense or auto-completion. A simple typo in one of keys can lead to hard to catch bugs. We are using protobuf and it doesn't have this problem. Second it's manual. Y...
by sorencoder
19 Jan 2019, 16:17
Forum: SFS2X Questions
Topic: Sending byte arrays
Replies: 3
Views: 816

Sending byte arrays

Hi,
We are using Protocol Buffers for serialization and sending messages. However I can't find a way to send raw byte arrays with SmartFoxServer.
SFSObject is terrible and error prone. I prefer to keep serialization automatic to avoid bugs.
How can I send raw byte array?

Go to advanced search