Example #1
0
void Chat::PostTextFor(const std::string& str, id_ptr_on<IOnMapBase> owner)
{
    if (game_->GetMob() == owner)
    {
        PostText(str);
    }
}
Example #2
0
void Chat::Process()
{   
    std::string str = ss.str();
    ss.str("");

    if (str == "")
        return;
    
    PostText(str);
}
Example #3
0
void Chat::PostTextFor(const std::string& str, id_ptr_on<IOnMapObject> owner)
{
    if (GetMob() == owner)
        PostText(str);
}