Raised This Month: $12 Target: $400
 3% 

[INFO] Think workflow


Post New Thread Reply   
 
Thread Tools Display Modes
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 07-31-2013 , 21:40   Re: [INFO] Think workflow
Reply With Quote #11

How does server interact with client? Talking about AddToFullPack, UpdateClientData, and etc
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-01-2013 , 04:25   Re: [INFO] Think workflow
Reply With Quote #12

Something like that
Code:
SV_SendClientMessages (looping)
{
	for(client = client_1 ; client <= client_max ; client++)
	{
		SV_WriteClientdataToMessage
		{
			...
			gEntityInterface.pfnUpdateClientData (FM_UpdateClientData(client))
			...
		}
		SV_WriteEntitiesToClient
		{
			for(ent=entity_1(<-client_1; ent<=maxent; ent++)
			{
				...
				gEntityInterface.pfnAddToFullPack (FM_AddToFullPack(es, ent, e, ..., client(=host), ...)
				...
			}
		}
}
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode